#663FAE#663FAE
#663FAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.169 H 295.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #663FAE |
|---|---|
| RGB | rgb(102, 63, 174) |
| HSL | hsl(261, 47%, 46%) |
| HSV | hsv(261, 64%, 68%) |
| CMYK | cmyk(41.4%, 63.8%, 0%, 31.8%) |
| CIE-LAB | lab(36.81, 41.94, -53.46) |
| CIE-LCH | lch(36.81, 67.95, 308.12°) |
| OKLab | oklab(47.33% 0.0723 -0.1524) |
| OKLCH | oklch(47.33% 0.169 295.4) |
| XYZ | xyz(14.8950, 9.4355, 41.0726) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.96
Rebeccapurple
#663399
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 4.57
Blue With A Hint Of Purple
#533CC6
ΔE00 4.95
Blurple
#5539CC
ΔE00 5.39
Royal Purple
#7851A9
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FAE #87AE3F
analogous
#3F50AE #663FAE #9E3FAE
triadic
#663FAE #AE663F #3FAE66
tetradic
#663FAE #AE3F50 #87AE3F #3FAE9E
square
#663FAE #AE3F50 #87AE3F #3FAE9E
split-complementary
#663FAE #AE9E3F #50AE3F
monochromatic
#311E54 #4C2F81 #663FAE #8664C7 #A990D7
Accessibility & contrast
On white
7.27
#663FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#663FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FAE
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FAE | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#535871
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663fae; /* rgb */ color: rgb(102, 63, 174); /* oklch */ color: oklch(47.3% 0.169 295.4);
Tailwind
colors: {
custom: {
50: '#9776c7',
500: '#663fae',
950: '#000000',
},
}SCSS
$custom: #663fae; $custom-light: #9776c7; $custom-dark: #000000;
JSON
{
"hex": "#663fae",
"rgb": {
"r": 102,
"g": 63,
"b": 174
},
"hsl": {
"h": 261.081,
"s": 46.835,
"l": 46.471
},
"oklch": {
"l": 0.47331,
"c": 0.16873,
"h": 295.4
},
"luminance": 0.09436
}Semantic roles & 50–950 ramp
primary
#663FAE
secondary
#ADC287
accent
#D651A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82