#663FCC#663FCC
#663FCC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.205 H 289.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #663FCC |
|---|---|
| RGB | rgb(102, 63, 204) |
| HSL | hsl(257, 58%, 52%) |
| HSV | hsv(257, 69%, 80%) |
| CMYK | cmyk(50%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(39.14, 50.28, -67.28) |
| CIE-LCH | lch(39.14, 83.99, 306.77°) |
| OKLab | oklab(49.73% 0.0683 -0.1931) |
| OKLCH | oklch(49.73% 0.205 289.5) |
| XYZ | xyz(18.1529, 10.7386, 58.2313) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.01
Blurple
#5539CC
ΔE00 2.87
Blue With A Hint Of Purple
#533CC6
ΔE00 3.09
Burple
#6832E3
ΔE00 3.46
Purpley Blue
#5F34E7
ΔE00 3.77
Bluish Purple
#703BE7
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FCC #A5CC3F
analogous
#3F5ECC #663FCC #AD3FCC
triadic
#663FCC #CC663F #3FCC66
tetradic
#663FCC #CC3F5E #A5CC3F #3FCCAD
square
#663FCC #CC3F5E #A5CC3F #3FCCAD
split-complementary
#663FCC #CCAD3F #5ECC3F
monochromatic
#361E72 #4C2BA3 #663FCC #8D6FD9 #B3A0E6
Accessibility & contrast
On white
6.67
#663FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#663FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FCC
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FCC | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#426381
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #663fcc; /* rgb */ color: rgb(102, 63, 204); /* oklch */ color: oklch(49.7% 0.205 289.5);
Tailwind
colors: {
custom: {
50: '#9b77dd',
500: '#663fcc',
950: '#000000',
},
}SCSS
$custom: #663fcc; $custom-light: #9b77dd; $custom-dark: #000000;
JSON
{
"hex": "#663fcc",
"rgb": {
"r": 102,
"g": 63,
"b": 204
},
"hsl": {
"h": 256.596,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.49732,
"c": 0.2048,
"h": 289.5
},
"luminance": 0.10739
}Semantic roles & 50–950 ramp
primary
#663FCC
secondary
#C1D295
accent
#E147B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83