Royal Blue

#7B27F1

Purple

Color Codes

All color formats for development

HEX
#7B27F1
RGB
rgb(123, 39, 241)
HSL
hsl(265, 88%, 55%)
OKLCH
oklch(0.527 0.266 293.4)
CMYK
cmyk(49%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

6.17:1

AA AAA

On Black Background

3.40:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F1
100
#EBDD
200
#D9C1
300
#BC91
400
#9957
500
#7B27
600
#600D
700
#4C0B
800
#3608
900
#2305
950
#1603

Shades

Darker variations

1#6C0FED
2#600DD3
3#540CB9
4#480A9E
5#3C0884
6#300769
7#24054F
8#180335
9#0C021A

Tints

Lighter variations

1#893DF3
2#9652F4
3#A368F5
4#B07EF7
5#BD93F8
6#CAA9F9
7#D8BEFB
8#E5D4FC
9#F2E9FE

Tones

Muted variations

1#7D31E7
2#7F3BDD
3#8046D3
4#8250C9
5#845ABF
6#8664B5
7#876EAB
8#8978A0
9#8B8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F1
#F6F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EBDD
#EBDDFD
Light backgroundsTable row hoverSkeleton loading
200
D9C1
#D9C1FB
Secondary backgroundsInput backgroundsDividers
300
BC91
#BC91F8
BordersInactive statesPlaceholder text
400
9957
#9957F4
Disabled statesSecondary iconsMuted text
500
7B27
#7B27F1
Primary brand colorCTAsActive elementsLinks
600
600D
#600DD3
Hover statesFocus ringsPrimary buttons hover
700
4C0B
#4C0BA8
Active/pressed statesDark mode accentsSecondary text
800
3608
#360878
Text on light backgroundsHeadingsStrong borders
900
2305
#23054D
Primary textHigh emphasis contentDark headings
950
1603
#160330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F1FE;
  --royal-blue-100: #EBDDFD;
  --royal-blue-200: #D9C1FB;
  --royal-blue-300: #BC91F8;
  --royal-blue-400: #9957F4;
  --royal-blue-500: #7B27F1;
  --royal-blue-600: #600DD3;
  --royal-blue-700: #4C0BA8;
  --royal-blue-800: #360878;
  --royal-blue-900: #23054D;
  --royal-blue-950: #160330;
}
Generate More ShadesCreate PaletteConvert Color