#663BCC#663BCC
#663BCC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.209 H 290.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #663BCC |
|---|---|
| RGB | rgb(102, 59, 204) |
| HSL | hsl(258, 59%, 52%) |
| HSV | hsv(258, 71%, 80%) |
| CMYK | cmyk(50%, 71.1%, 0%, 20%) |
| CIE-LAB | lab(38.40, 52.34, -68.49) |
| CIE-LCH | lch(38.40, 86.20, 307.39°) |
| OKLab | oklab(49.21% 0.0719 -0.1966) |
| OKLCH | oklch(49.21% 0.209 290.1) |
| XYZ | xyz(17.9394, 10.3116, 58.1601) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.58
Blurple
#5539CC
ΔE00 2.56
Blue With A Hint Of Purple
#533CC6
ΔE00 2.99
Burple
#6832E3
ΔE00 3.07
Purpley Blue
#5F34E7
ΔE00 3.50
Bluish Purple
#703BE7
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BCC #A1CC3B
analogous
#3B59CC #663BCC #AF3BCC
triadic
#663BCC #CC663B #3BCC66
tetradic
#663BCC #CC3B59 #A1CC3B #3BCCAF
square
#663BCC #CC3B59 #A1CC3B #3BCCAF
split-complementary
#663BCC #CCAF3B #59CC3B
monochromatic
#361D70 #4D2AA0 #663BCC #8C6CD9 #B29CE5
Accessibility & contrast
On white
6.86
#663BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#663BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663BCC
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BCC | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#436180
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663bcc; /* rgb */ color: rgb(102, 59, 204); /* oklch */ color: oklch(49.2% 0.209 290.1);
Tailwind
colors: {
custom: {
50: '#9b75dd',
500: '#663bcc',
950: '#000000',
},
}SCSS
$custom: #663bcc; $custom-light: #9b75dd; $custom-dark: #000000;
JSON
{
"hex": "#663bcc",
"rgb": {
"r": 102,
"g": 59,
"b": 204
},
"hsl": {
"h": 257.793,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.49205,
"c": 0.20934,
"h": 290.1
},
"luminance": 0.10312
}Semantic roles & 50–950 ramp
primary
#663BCC
secondary
#BED192
accent
#E246B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83