#663FD5#663FD5
#663FD5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.215 H 288.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #663FD5 |
|---|---|
| RGB | rgb(102, 63, 213) |
| HSL | hsl(256, 64%, 54%) |
| HSV | hsv(256, 70%, 84%) |
| CMYK | cmyk(52.1%, 70.4%, 0%, 16.5%) |
| CIE-LAB | lab(39.89, 52.81, -71.25) |
| CIE-LCH | lch(39.89, 88.68, 306.55°) |
| OKLab | oklab(50.5% 0.0667 -0.2047) |
| OKLCH | oklch(50.5% 0.215 288) |
| XYZ | xyz(19.2637, 11.1830, 64.0814) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.98
Burple
#6832E3
ΔE00 2.70
Bluish Purple
#703BE7
ΔE00 2.73
Purpley Blue
#5F34E7
ΔE00 2.89
Blurple
#5539CC
ΔE00 3.18
Purpleish Blue
#6140EF
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FD5 #AED53F
analogous
#3F63D5 #663FD5 #B13FD5
triadic
#663FD5 #D5663F #3FD566
tetradic
#663FD5 #D53F63 #AED53F #3FD5B1
square
#663FD5 #D53F63 #AED53F #3FD5B1
split-complementary
#663FD5 #D5B13F #63D53F
monochromatic
#351C7E #4A27B0 #663FD5 #8E71E0 #B6A3EB
Accessibility & contrast
On white
6.49
#663FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#663FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FD5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FD5 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#3B6686
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663fd5; /* rgb */ color: rgb(102, 63, 213); /* oklch */ color: oklch(50.5% 0.215 288.0);
Tailwind
colors: {
custom: {
50: '#9c77e3',
500: '#663fd5',
950: '#000000',
},
}SCSS
$custom: #663fd5; $custom-light: #9c77e3; $custom-dark: #000000;
JSON
{
"hex": "#663fd5",
"rgb": {
"r": 102,
"g": 63,
"b": 213
},
"hsl": {
"h": 255.6,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.50499,
"c": 0.2153,
"h": 288
},
"luminance": 0.11184
}Semantic roles & 50–950 ramp
primary
#663FD5
secondary
#C7D898
accent
#E741BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84