#662CD3#662CD3
#662CD3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.232 H 290.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #662CD3 |
|---|---|
| RGB | rgb(102, 44, 211) |
| HSL | hsl(261, 65%, 50%) |
| HSV | hsv(261, 79%, 83%) |
| CMYK | cmyk(51.7%, 79.1%, 0%, 17.3%) |
| CIE-LAB | lab(36.61, 61.08, -75.47) |
| CIE-LCH | lch(36.61, 97.09, 308.98°) |
| OKLab | oklab(48.14% 0.0816 -0.217) |
| OKLCH | oklch(48.14% 0.232 290.6) |
| XYZ | xyz(18.1347, 9.3285, 62.4604) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.32
Burple
#6832E3
ΔE00 2.57
Purpley Blue
#5F34E7
ΔE00 3.20
Purply Blue
#661AEE
ΔE00 3.29
Blurple
#5539CC
ΔE00 3.35
Blue Violet
#5D06E9
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662CD3 #99D32C
analogous
#2C46D3 #662CD3 #B92CD3
triadic
#662CD3 #D3662C #2CD366
tetradic
#662CD3 #D32C46 #99D32C #2CD3B9
square
#662CD3 #D32C46 #99D32C #2CD3B9
split-complementary
#662CD3 #D3B92C #46D32C
monochromatic
#35176E #4E21A0 #662CD3 #8B5FDE #AF91E8
Accessibility & contrast
On white
7.33
#662CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#662CD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662CD3
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662CD3 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D8
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#3E5D80
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #662cd3; /* rgb */ color: rgb(102, 44, 211); /* oklch */ color: oklch(48.1% 0.232 290.6);
Tailwind
colors: {
custom: {
50: '#9d6de2',
500: '#662cd3',
950: '#000000',
},
}SCSS
$custom: #662cd3; $custom-light: #9d6de2; $custom-dark: #000000;
JSON
{
"hex": "#662cd3",
"rgb": {
"r": 102,
"g": 44,
"b": 211
},
"hsl": {
"h": 260.838,
"s": 65.49,
"l": 50
},
"oklch": {
"l": 0.48141,
"c": 0.23178,
"h": 290.6
},
"luminance": 0.09329
}Semantic roles & 50–950 ramp
primary
#662CD3
secondary
#B9D388
accent
#E83FAE
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84