#663CC4#663CC4
#663CC4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.199 H 291.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #663CC4 |
|---|---|
| RGB | rgb(102, 60, 196) |
| HSL | hsl(259, 54%, 50%) |
| HSV | hsv(259, 69%, 77%) |
| CMYK | cmyk(48%, 69.4%, 0%, 23.1%) |
| CIE-LAB | lab(37.92, 49.62, -64.62) |
| CIE-LCH | lch(37.92, 81.47, 307.52°) |
| OKLab | oklab(48.66% 0.0725 -0.1852) |
| OKLCH | oklch(48.66% 0.199 291.4) |
| XYZ | xyz(17.0563, 10.0414, 53.2533) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.46
Blurple
#5539CC
ΔE00 2.85
Blue With A Hint Of Purple
#533CC6
ΔE00 2.97
Burple
#6832E3
ΔE00 4.12
Purpley Blue
#5F34E7
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CC4 #9AC43C
analogous
#3C56C4 #663CC4 #AA3CC4
triadic
#663CC4 #C4663C #3CC466
tetradic
#663CC4 #C43C56 #9AC43C #3CC4AA
square
#663CC4 #C43C56 #9AC43C #3CC4AA
split-complementary
#663CC4 #C4AA3C #56C43C
monochromatic
#351F67 #4D2D96 #663CC4 #8B6BD2 #B09AE0
Accessibility & contrast
On white
6.98
#663CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#663CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663CC4
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CC4 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#485E7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663cc4; /* rgb */ color: rgb(102, 60, 196); /* oklch */ color: oklch(48.7% 0.199 291.4);
Tailwind
colors: {
custom: {
50: '#9a75d7',
500: '#663cc4',
950: '#000000',
},
}SCSS
$custom: #663cc4; $custom-light: #9a75d7; $custom-dark: #000000;
JSON
{
"hex": "#663cc4",
"rgb": {
"r": 102,
"g": 60,
"b": 196
},
"hsl": {
"h": 258.529,
"s": 53.543,
"l": 50.196
},
"oklch": {
"l": 0.48659,
"c": 0.19892,
"h": 291.4
},
"luminance": 0.10042
}Semantic roles & 50–950 ramp
primary
#663CC4
secondary
#BACC90
accent
#DD4BB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83