#663FDF#663FDF
#663FDF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.227 H 286.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #663FDF |
|---|---|
| RGB | rgb(102, 63, 223) |
| HSL | hsl(255, 71%, 56%) |
| HSV | hsv(255, 72%, 87%) |
| CMYK | cmyk(54.3%, 71.7%, 0%, 12.5%) |
| CIE-LAB | lab(40.75, 55.61, -75.57) |
| CIE-LCH | lch(40.75, 93.83, 306.35°) |
| OKLab | oklab(51.37% 0.0646 -0.2174) |
| OKLCH | oklch(51.37% 0.227 286.6) |
| XYZ | xyz(20.5723, 11.7064, 70.9733) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.82
Purpleish Blue
#6140EF
ΔE00 2.08
Purpley Blue
#5F34E7
ΔE00 2.35
Burple
#6832E3
ΔE00 2.39
Bluey Purple
#6241C7
ΔE00 3.22
Blurple
#5539CC
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FDF #B8DF3F
analogous
#3F68DF #663FDF #B63FDF
triadic
#663FDF #DF663F #3FDF66
tetradic
#663FDF #DF3F68 #B8DF3F #3FDFB6
square
#663FDF #DF3F68 #B8DF3F #3FDFB6
split-complementary
#663FDF #DFB63F #68DF3F
monochromatic
#34178C #4720C1 #663FDF #9073E8 #BAA8F0
Accessibility & contrast
On white
6.28
#663FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#663FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FDF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FDF | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#316A8B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #663fdf; /* rgb */ color: rgb(102, 63, 223); /* oklch */ color: oklch(51.4% 0.227 286.6);
Tailwind
colors: {
custom: {
50: '#9d78ea',
500: '#663fdf',
950: '#000000',
},
}SCSS
$custom: #663fdf; $custom-light: #9d78ea; $custom-dark: #000000;
JSON
{
"hex": "#663fdf",
"rgb": {
"r": 102,
"g": 63,
"b": 223
},
"hsl": {
"h": 254.625,
"s": 71.429,
"l": 56.078
},
"oklch": {
"l": 0.51372,
"c": 0.22679,
"h": 286.6
},
"luminance": 0.11708
}Semantic roles & 50–950 ramp
primary
#663FDF
secondary
#CEDE9C
accent
#EE3AC2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84