#663FD4#663FD4
#663FD4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.214 H 288.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #663FD4 |
|---|---|
| RGB | rgb(102, 63, 212) |
| HSL | hsl(256, 63%, 54%) |
| HSV | hsv(256, 70%, 83%) |
| CMYK | cmyk(51.9%, 70.3%, 0%, 16.9%) |
| CIE-LAB | lab(39.80, 52.53, -70.81) |
| CIE-LCH | lch(39.80, 88.17, 306.57°) |
| OKLab | oklab(50.41% 0.0669 -0.2034) |
| OKLCH | oklch(50.41% 0.214 288.2) |
| XYZ | xyz(19.1372, 11.1323, 63.4150) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.86
Burple
#6832E3
ΔE00 2.77
Bluish Purple
#703BE7
ΔE00 2.84
Purpley Blue
#5F34E7
ΔE00 2.97
Blurple
#5539CC
ΔE00 3.12
Purpleish Blue
#6140EF
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FD4 #ADD43F
analogous
#3F63D4 #663FD4 #B13FD4
triadic
#663FD4 #D4663F #3FD466
tetradic
#663FD4 #D43F63 #ADD43F #3FD4B1
square
#663FD4 #D43F63 #ADD43F #3FD4B1
split-complementary
#663FD4 #D4B13F #63D43F
monochromatic
#351C7D #4B27AF #663FD4 #8E71DF #B6A3EA
Accessibility & contrast
On white
6.51
#663FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#663FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FD4
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FD4 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#3C6685
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663fd4; /* rgb */ color: rgb(102, 63, 212); /* oklch */ color: oklch(50.4% 0.214 288.2);
Tailwind
colors: {
custom: {
50: '#9c77e2',
500: '#663fd4',
950: '#000000',
},
}SCSS
$custom: #663fd4; $custom-light: #9c77e2; $custom-dark: #000000;
JSON
{
"hex": "#663fd4",
"rgb": {
"r": 102,
"g": 63,
"b": 212
},
"hsl": {
"h": 255.705,
"s": 63.404,
"l": 53.922
},
"oklch": {
"l": 0.50413,
"c": 0.21413,
"h": 288.2
},
"luminance": 0.11133
}Semantic roles & 50–950 ramp
primary
#663FD4
secondary
#C7D798
accent
#E641BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84