#663AC4#663AC4
#663AC4 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.201 H 291.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #663AC4 |
|---|---|
| RGB | rgb(102, 58, 196) |
| HSL | hsl(259, 54%, 50%) |
| HSV | hsv(259, 70%, 77%) |
| CMYK | cmyk(48%, 70.4%, 0%, 23.1%) |
| CIE-LAB | lab(37.55, 50.65, -65.22) |
| CIE-LCH | lch(37.55, 82.58, 307.83°) |
| OKLab | oklab(48.4% 0.0744 -0.187) |
| OKLCH | oklch(48.4% 0.201 291.7) |
| XYZ | xyz(16.9535, 9.8358, 53.2191) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.85
Blurple
#5539CC
ΔE00 2.79
Blue With A Hint Of Purple
#533CC6
ΔE00 3.01
Burple
#6832E3
ΔE00 4.02
Purpley Blue
#5F34E7
ΔE00 4.51
Purple Blue
#5D21D0
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663AC4 #98C43A
analogous
#3A53C4 #663AC4 #AB3AC4
triadic
#663AC4 #C4663A #3AC466
tetradic
#663AC4 #C43A53 #98C43A #3AC4AB
square
#663AC4 #C43A53 #98C43A #3AC4AB
split-complementary
#663AC4 #C4AB3A #53C43A
monochromatic
#351E66 #4D2C95 #663AC4 #8A69D3 #AF98E0
Accessibility & contrast
On white
7.08
#663AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#663AC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663AC4
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663AC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663AC4 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#485D7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663ac4; /* rgb */ color: rgb(102, 58, 196); /* oklch */ color: oklch(48.4% 0.201 291.7);
Tailwind
colors: {
custom: {
50: '#9a74d7',
500: '#663ac4',
950: '#000000',
},
}SCSS
$custom: #663ac4; $custom-light: #9a74d7; $custom-dark: #000000;
JSON
{
"hex": "#663ac4",
"rgb": {
"r": 102,
"g": 58,
"b": 196
},
"hsl": {
"h": 259.13,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.48395,
"c": 0.20125,
"h": 291.7
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#663AC4
secondary
#B8CC8E
accent
#DE4AAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83