#663ACC#663ACC
#663ACC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.210 H 290.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #663ACC |
|---|---|
| RGB | rgb(102, 58, 204) |
| HSL | hsl(258, 59%, 51%) |
| HSV | hsv(258, 72%, 80%) |
| CMYK | cmyk(50%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(38.22, 52.85, -68.78) |
| CIE-LCH | lch(38.22, 86.74, 307.54°) |
| OKLab | oklab(49.08% 0.0728 -0.1975) |
| OKLCH | oklch(49.08% 0.21 290.2) |
| XYZ | xyz(17.8885, 10.2098, 58.1432) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.75
Blurple
#5539CC
ΔE00 2.52
Blue With A Hint Of Purple
#533CC6
ΔE00 3.00
Burple
#6832E3
ΔE00 3.00
Purpley Blue
#5F34E7
ΔE00 3.46
Bluish Purple
#703BE7
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ACC #A0CC3A
analogous
#3A57CC #663ACC #AF3ACC
triadic
#663ACC #CC663A #3ACC66
tetradic
#663ACC #CC3A57 #A0CC3A #3ACCAF
square
#663ACC #CC3A57 #A0CC3A #3ACCAF
split-complementary
#663ACC #CCAF3A #57CC3A
monochromatic
#351D6F #4D29A0 #663ACC #8C6BD9 #B29BE5
Accessibility & contrast
On white
6.90
#663ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#663ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ACC
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ACC | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#43607F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663acc; /* rgb */ color: rgb(102, 58, 204); /* oklch */ color: oklch(49.1% 0.210 290.2);
Tailwind
colors: {
custom: {
50: '#9b74dd',
500: '#663acc',
950: '#000000',
},
}SCSS
$custom: #663acc; $custom-light: #9b74dd; $custom-dark: #000000;
JSON
{
"hex": "#663acc",
"rgb": {
"r": 102,
"g": 58,
"b": 204
},
"hsl": {
"h": 258.082,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.49078,
"c": 0.21044,
"h": 290.2
},
"luminance": 0.10211
}Semantic roles & 50–950 ramp
primary
#663ACC
secondary
#BED191
accent
#E246B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83