#663DC6#663DC6
#663DC6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.200 H 290.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #663DC6 |
|---|---|
| RGB | rgb(102, 61, 198) |
| HSL | hsl(258, 55%, 51%) |
| HSV | hsv(258, 69%, 78%) |
| CMYK | cmyk(48.5%, 69.2%, 0%, 22.4%) |
| CIE-LAB | lab(38.27, 49.66, -65.21) |
| CIE-LCH | lch(38.27, 81.97, 307.29°) |
| OKLab | oklab(48.96% 0.0712 -0.187) |
| OKLCH | oklch(48.96% 0.2 290.8) |
| XYZ | xyz(17.3384, 10.2388, 54.4779) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.18
Blurple
#5539CC
ΔE00 2.80
Blue With A Hint Of Purple
#533CC6
ΔE00 2.94
Burple
#6832E3
ΔE00 3.94
Purpley Blue
#5F34E7
ΔE00 4.35
Bluish Purple
#703BE7
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663DC6 #9DC63D
analogous
#3D58C6 #663DC6 #AA3DC6
triadic
#663DC6 #C6663D #3DC666
tetradic
#663DC6 #C63D58 #9DC63D #3DC6AA
square
#663DC6 #C63D58 #9DC63D #3DC6AA
split-complementary
#663DC6 #C6AA3D #58C63D
monochromatic
#351F6A #4D2D99 #663DC6 #8B6CD4 #B19CE2
Accessibility & contrast
On white
6.89
#663DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#663DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663DC6
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663DC6 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#47607D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663dc6; /* rgb */ color: rgb(102, 61, 198); /* oklch */ color: oklch(49.0% 0.200 290.8);
Tailwind
colors: {
custom: {
50: '#9a76d8',
500: '#663dc6',
950: '#000000',
},
}SCSS
$custom: #663dc6; $custom-light: #9a76d8; $custom-dark: #000000;
JSON
{
"hex": "#663dc6",
"rgb": {
"r": 102,
"g": 61,
"b": 198
},
"hsl": {
"h": 257.956,
"s": 54.582,
"l": 50.784
},
"oklch": {
"l": 0.4896,
"c": 0.20009,
"h": 290.8
},
"luminance": 0.10239
}Semantic roles & 50–950 ramp
primary
#663DC6
secondary
#BCCE91
accent
#DE4AB2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83