#662FC0#662FC0
#662FC0 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.209 H 294.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #662FC0 |
|---|---|
| RGB | rgb(102, 47, 192) |
| HSL | hsl(263, 61%, 47%) |
| HSV | hsv(263, 76%, 75%) |
| CMYK | cmyk(46.9%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.33, 54.88, -66.51) |
| CIE-LCH | lch(35.33, 86.23, 309.53°) |
| OKLab | oklab(46.72% 0.0848 -0.1907) |
| OKLCH | oklch(46.72% 0.209 294) |
| XYZ | xyz(16.0078, 8.6631, 50.6877) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.10
Blurple
#5539CC
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 4.13
Blue With A Hint Of Purple
#533CC6
ΔE00 4.17
Burple
#6832E3
ΔE00 4.76
Purpley Blue
#5F34E7
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662FC0 #89C02F
analogous
#2F40C0 #662FC0 #AF2FC0
triadic
#662FC0 #C0662F #2FC066
tetradic
#662FC0 #C02F40 #89C02F #2FC0AF
square
#662FC0 #C02F40 #89C02F #2FC0AF
split-complementary
#662FC0 #C0AF2F #40C02F
monochromatic
#32175E #4C238F #662FC0 #8756D6 #AA88E2
Accessibility & contrast
On white
7.68
#662FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#662FC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662FC0
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662FC0 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#4B5676
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #662fc0; /* rgb */ color: rgb(102, 47, 192); /* oklch */ color: oklch(46.7% 0.209 294.0);
Tailwind
colors: {
custom: {
50: '#9a6dd4',
500: '#662fc0',
950: '#000000',
},
}SCSS
$custom: #662fc0; $custom-light: #9a6dd4; $custom-dark: #000000;
JSON
{
"hex": "#662fc0",
"rgb": {
"r": 102,
"g": 47,
"b": 192
},
"hsl": {
"h": 262.759,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.46722,
"c": 0.20874,
"h": 294
},
"luminance": 0.08664
}Semantic roles & 50–950 ramp
primary
#662FC0
secondary
#AFCB7F
accent
#E444A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83