#663AC6#663AC6
#663AC6 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.204 H 291.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #663AC6 |
|---|---|
| RGB | rgb(102, 58, 198) |
| HSL | hsl(259, 55%, 50%) |
| HSV | hsv(259, 71%, 78%) |
| CMYK | cmyk(48.5%, 70.7%, 0%, 22.4%) |
| CIE-LAB | lab(37.71, 51.20, -66.12) |
| CIE-LCH | lch(37.71, 83.63, 307.75°) |
| OKLab | oklab(48.56% 0.074 -0.1896) |
| OKLCH | oklch(48.56% 0.204 291.3) |
| XYZ | xyz(17.1827, 9.9275, 54.4260) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.76
Blurple
#5539CC
ΔE00 2.68
Blue With A Hint Of Purple
#533CC6
ΔE00 2.96
Burple
#6832E3
ΔE00 3.76
Purpley Blue
#5F34E7
ΔE00 4.24
Purple Blue
#5D21D0
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663AC6 #9AC63A
analogous
#3A54C6 #663AC6 #AC3AC6
triadic
#663AC6 #C6663A #3AC666
tetradic
#663AC6 #C63A54 #9AC63A #3AC6AC
square
#663AC6 #C63A54 #9AC63A #3AC6AC
split-complementary
#663AC6 #C6AC3A #54C63A
monochromatic
#351E68 #4D2C97 #663AC6 #8B69D4 #B099E1
Accessibility & contrast
On white
7.03
#663AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#663AC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663AC6
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663AC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663AC6 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#475E7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663ac6; /* rgb */ color: rgb(102, 58, 198); /* oklch */ color: oklch(48.6% 0.204 291.3);
Tailwind
colors: {
custom: {
50: '#9a74d8',
500: '#663ac6',
950: '#000000',
},
}SCSS
$custom: #663ac6; $custom-light: #9a74d8; $custom-dark: #000000;
JSON
{
"hex": "#663ac6",
"rgb": {
"r": 102,
"g": 58,
"b": 198
},
"hsl": {
"h": 258.857,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.48564,
"c": 0.20356,
"h": 291.3
},
"luminance": 0.09928
}Semantic roles & 50–950 ramp
primary
#663AC6
secondary
#BACD8F
accent
#DE49B0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83