#663FAF#663FAF
#663FAF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.170 H 295.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #663FAF |
|---|---|
| RGB | rgb(102, 63, 175) |
| HSL | hsl(261, 47%, 47%) |
| HSV | hsv(261, 64%, 69%) |
| CMYK | cmyk(41.7%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(36.88, 42.22, -53.93) |
| CIE-LCH | lch(36.88, 68.49, 308.05°) |
| OKLab | oklab(47.41% 0.0722 -0.1538) |
| OKLCH | oklch(47.41% 0.17 295.1) |
| XYZ | xyz(14.9928, 9.4746, 41.5880) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.80
Ocean Blue
#4F42B5
ΔE00 4.50
Rebeccapurple
#663399
ΔE00 4.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Blurple
#5539CC
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FAF #88AF3F
analogous
#3F50AF #663FAF #9E3FAF
triadic
#663FAF #AF663F #3FAF66
tetradic
#663FAF #AF3F50 #88AF3F #3FAF9E
square
#663FAF #AF3F50 #88AF3F #3FAF9E
split-complementary
#663FAF #AF9E3F #50AF3F
monochromatic
#321F55 #4C2F82 #663FAF #8764C7 #AA91D7
Accessibility & contrast
On white
7.25
#663FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#663FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FAF
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FAF | 1.00 | 7.25 | 2.89 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#535971
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663faf; /* rgb */ color: rgb(102, 63, 175); /* oklch */ color: oklch(47.4% 0.170 295.1);
Tailwind
colors: {
custom: {
50: '#9776c8',
500: '#663faf',
950: '#000000',
},
}SCSS
$custom: #663faf; $custom-light: #9776c8; $custom-dark: #000000;
JSON
{
"hex": "#663faf",
"rgb": {
"r": 102,
"g": 63,
"b": 175
},
"hsl": {
"h": 260.893,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.47407,
"c": 0.16996,
"h": 295.1
},
"luminance": 0.09475
}Semantic roles & 50–950 ramp
primary
#663FAF
secondary
#AEC387
accent
#D751A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82