#663EDB#663EDB
#663EDB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.223 H 287.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #663EDB |
|---|---|
| RGB | rgb(102, 62, 219) |
| HSL | hsl(255, 69%, 55%) |
| HSV | hsv(255, 72%, 86%) |
| CMYK | cmyk(53.4%, 71.7%, 0%, 14.1%) |
| CIE-LAB | lab(40.22, 54.99, -74.15) |
| CIE-LCH | lch(40.22, 92.32, 306.56°) |
| OKLab | oklab(50.89% 0.0663 -0.2132) |
| OKLCH | oklch(50.89% 0.223 287.3) |
| XYZ | xyz(19.9845, 11.3835, 68.1483) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.12
Burple
#6832E3
ΔE00 2.24
Purpley Blue
#5F34E7
ΔE00 2.33
Purpleish Blue
#6140EF
ΔE00 2.65
Bluey Purple
#6241C7
ΔE00 2.73
Blurple
#5539CC
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EDB #B3DB3E
analogous
#3E64DB #663EDB #B53EDB
triadic
#663EDB #DB663E #3EDB66
tetradic
#663EDB #DB3E64 #B3DB3E #3EDBB5
square
#663EDB #DB3E64 #B3DB3E #3EDBB5
split-complementary
#663EDB #DBB53E #64DB3E
monochromatic
#351986 #4923B9 #663EDB #8F72E5 #B8A5EE
Accessibility & contrast
On white
6.41
#663EDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#663EDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663EDB
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EDB | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#366889
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #663edb; /* rgb */ color: rgb(102, 62, 219); /* oklch */ color: oklch(50.9% 0.223 287.3);
Tailwind
colors: {
custom: {
50: '#9d77e7',
500: '#663edb',
950: '#000000',
},
}SCSS
$custom: #663edb; $custom-light: #9d77e7; $custom-dark: #000000;
JSON
{
"hex": "#663edb",
"rgb": {
"r": 102,
"g": 62,
"b": 219
},
"hsl": {
"h": 255.287,
"s": 68.559,
"l": 55.098
},
"oklch": {
"l": 0.50892,
"c": 0.22328,
"h": 287.3
},
"luminance": 0.11385
}Semantic roles & 50–950 ramp
primary
#663EDB
secondary
#CBDB99
accent
#EB3CBF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84