#663CA0#663CA0
#663CA0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.156 H 299.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #663CA0 |
|---|---|
| RGB | rgb(102, 60, 160) |
| HSL | hsl(265, 45%, 43%) |
| HSV | hsv(265, 63%, 63%) |
| CMYK | cmyk(36.2%, 62.5%, 0%, 37.3%) |
| CIE-LAB | lab(35.19, 39.83, -47.69) |
| CIE-LCH | lch(35.19, 62.14, 309.87°) |
| OKLab | oklab(45.84% 0.0768 -0.1355) |
| OKLCH | oklch(45.84% 0.156 299.6) |
| XYZ | xyz(13.4390, 8.5944, 34.2018) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.44
Ocean Blue
#4F42B5
ΔE00 6.21
Bluey Purple
#6241C7
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.67
Blueberry
#464196
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CA0 #76A03C
analogous
#3C44A0 #663CA0 #983CA0
triadic
#663CA0 #A0663C #3CA066
tetradic
#663CA0 #A03C44 #76A03C #3CA098
square
#663CA0 #A03C44 #76A03C #3CA098
split-complementary
#663CA0 #A0983C #44A03C
monochromatic
#2D1B47 #4A2B73 #663CA0 #8459C1 #A585D1
Accessibility & contrast
On white
7.72
#663CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#663CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663CA0
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CA0 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#595268
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #663ca0; /* rgb */ color: rgb(102, 60, 160); /* oklch */ color: oklch(45.8% 0.156 299.6);
Tailwind
colors: {
custom: {
50: '#9674bd',
500: '#663ca0',
950: '#000000',
},
}SCSS
$custom: #663ca0; $custom-light: #9674bd; $custom-dark: #000000;
JSON
{
"hex": "#663ca0",
"rgb": {
"r": 102,
"g": 60,
"b": 160
},
"hsl": {
"h": 265.2,
"s": 45.455,
"l": 43.137
},
"oklch": {
"l": 0.4584,
"c": 0.15576,
"h": 299.6
},
"luminance": 0.08595
}Semantic roles & 50–950 ramp
primary
#663CA0
secondary
#A1BB7C
accent
#D5539E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81