#663FA0#663FA0
#663FA0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.151 H 298.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #663FA0 |
|---|---|
| RGB | rgb(102, 63, 160) |
| HSL | hsl(264, 43%, 44%) |
| HSV | hsv(264, 61%, 63%) |
| CMYK | cmyk(36.2%, 60.6%, 0%, 37.3%) |
| CIE-LAB | lab(35.83, 38.14, -46.67) |
| CIE-LCH | lch(35.83, 60.27, 309.25°) |
| OKLab | oklab(46.3% 0.0731 -0.1325) |
| OKLCH | oklch(46.3% 0.151 298.9) |
| XYZ | xyz(13.6006, 8.9177, 34.2556) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.15
Royal Purple
#7851A9
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.05
Bluey Purple
#6241C7
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.51
Blueberry
#464196
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FA0 #79A03F
analogous
#3F48A0 #663FA0 #963FA0
triadic
#663FA0 #A0663F #3FA066
tetradic
#663FA0 #A03F48 #79A03F #3FA096
square
#663FA0 #A03F48 #79A03F #3FA096
split-complementary
#663FA0 #A0963F #48A03F
monochromatic
#2E1C48 #4A2E74 #663FA0 #845DBF #A689D0
Accessibility & contrast
On white
7.54
#663FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#663FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FA0
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FA0 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#1C539E
Tritanopia (blue-blind)
#595469
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #663fa0; /* rgb */ color: rgb(102, 63, 160); /* oklch */ color: oklch(46.3% 0.151 298.9);
Tailwind
colors: {
custom: {
50: '#9676bd',
500: '#663fa0',
950: '#000000',
},
}SCSS
$custom: #663fa0; $custom-light: #9676bd; $custom-dark: #000000;
JSON
{
"hex": "#663fa0",
"rgb": {
"r": 102,
"g": 63,
"b": 160
},
"hsl": {
"h": 264.124,
"s": 43.498,
"l": 43.725
},
"oklch": {
"l": 0.46302,
"c": 0.15134,
"h": 298.9
},
"luminance": 0.08918
}Semantic roles & 50–950 ramp
primary
#663FA0
secondary
#A3BB80
accent
#D355A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81