#663CAF#663CAF
#663CAF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.174 H 295.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #663CAF |
|---|---|
| RGB | rgb(102, 60, 175) |
| HSL | hsl(262, 49%, 46%) |
| HSV | hsv(262, 66%, 69%) |
| CMYK | cmyk(41.7%, 65.7%, 0%, 31.4%) |
| CIE-LAB | lab(36.27, 43.87, -54.92) |
| CIE-LCH | lch(36.27, 70.29, 308.61°) |
| OKLab | oklab(46.97% 0.0756 -0.1567) |
| OKLCH | oklch(46.97% 0.174 295.7) |
| XYZ | xyz(14.8312, 9.1513, 41.5341) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.98
Rebeccapurple
#663399
ΔE00 4.21
Ocean Blue
#4F42B5
ΔE00 4.74
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
Blurple
#5539CC
ΔE00 5.13
Purple Blue
#5D21D0
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CAF #85AF3C
analogous
#3C4BAF #663CAF #9F3CAF
triadic
#663CAF #AF663C #3CAF66
tetradic
#663CAF #AF3C4B #85AF3C #3CAF9F
square
#663CAF #AF3C4B #85AF3C #3CAF9F
split-complementary
#663CAF #AF9F3C #4BAF3C
monochromatic
#311D54 #4B2C81 #663CAF #8660C8 #A98DD8
Accessibility & contrast
On white
7.42
#663CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#663CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663CAF
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CAF | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#535770
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #663caf; /* rgb */ color: rgb(102, 60, 175); /* oklch */ color: oklch(47.0% 0.174 295.7);
Tailwind
colors: {
custom: {
50: '#9774c8',
500: '#663caf',
950: '#000000',
},
}SCSS
$custom: #663caf; $custom-light: #9774c8; $custom-dark: #000000;
JSON
{
"hex": "#663caf",
"rgb": {
"r": 102,
"g": 60,
"b": 175
},
"hsl": {
"h": 261.913,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.46967,
"c": 0.17401,
"h": 295.7
},
"luminance": 0.09152
}Semantic roles & 50–950 ramp
primary
#663CAF
secondary
#ACC384
accent
#D84FA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82