#663EB5#663EB5
#663EB5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.179 H 294.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #663EB5 |
|---|---|
| RGB | rgb(102, 62, 181) |
| HSL | hsl(260, 49%, 48%) |
| HSV | hsv(260, 66%, 71%) |
| CMYK | cmyk(43.6%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(37.13, 44.42, -57.09) |
| CIE-LCH | lch(37.13, 72.34, 307.88°) |
| OKLab | oklab(47.72% 0.0727 -0.1631) |
| OKLCH | oklch(47.72% 0.179 294) |
| XYZ | xyz(15.5404, 9.6058, 44.7424) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.94
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 4.28
Blurple
#5539CC
ΔE00 4.40
Rebeccapurple
#663399
ΔE00 5.27
Burple
#6832E3
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EB5 #8DB53E
analogous
#3E52B5 #663EB5 #A13EB5
triadic
#663EB5 #B5663E #3EB566
tetradic
#663EB5 #B53E52 #8DB53E #3EB5A1
square
#663EB5 #B53E52 #8DB53E #3EB5A1
split-complementary
#663EB5 #B5A13E #52B53E
monochromatic
#331F5A #4C2E87 #663EB5 #8866CA #AB93DA
Accessibility & contrast
On white
7.19
#663EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#663EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EB5
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EB5 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#505A74
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663eb5; /* rgb */ color: rgb(102, 62, 181); /* oklch */ color: oklch(47.7% 0.179 294.0);
Tailwind
colors: {
custom: {
50: '#9876cc',
500: '#663eb5',
950: '#000000',
},
}SCSS
$custom: #663eb5; $custom-light: #9876cc; $custom-dark: #000000;
JSON
{
"hex": "#663eb5",
"rgb": {
"r": 102,
"g": 62,
"b": 181
},
"hsl": {
"h": 260.168,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.47723,
"c": 0.17861,
"h": 294
},
"luminance": 0.09606
}Semantic roles & 50–950 ramp
primary
#663EB5
secondary
#B1C589
accent
#D94FAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82