#662CE2#662CE2
#662CE2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.6% C 0.247 H 288.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #662CE2 |
|---|---|
| RGB | rgb(102, 44, 226) |
| HSL | hsl(259, 76%, 53%) |
| HSV | hsv(259, 81%, 89%) |
| CMYK | cmyk(54.9%, 80.5%, 0%, 11.4%) |
| CIE-LAB | lab(38.05, 64.93, -81.72) |
| CIE-LCH | lch(38.05, 104.38, 308.47°) |
| OKLab | oklab(49.57% 0.0767 -0.2352) |
| OKLCH | oklch(49.57% 0.247 288.1) |
| XYZ | xyz(20.1036, 10.1161, 72.8300) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 1.09
Purpley Blue
#5F34E7
ΔE00 1.71
Purply Blue
#661AEE
ΔE00 2.07
Purplish Blue
#601EF9
ΔE00 2.67
Bluish Purple
#703BE7
ΔE00 3.38
Purple Blue
#5D21D0
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662CE2 #A8E22C
analogous
#2C4DE2 #662CE2 #C12CE2
triadic
#662CE2 #E2662C #2CE266
tetradic
#662CE2 #E22C4D #A8E22C #2CE2C1
square
#662CE2 #E22C4D #A8E22C #2CE2C1
split-complementary
#662CE2 #E2C12C #4DE22C
monochromatic
#361282 #4C19B8 #662CE2 #8D62E9 #B498F1
Accessibility & contrast
On white
6.95
#662CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#662CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #662CE2
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662CE2 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#2F6389
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #662ce2; /* rgb */ color: rgb(102, 44, 226); /* oklch */ color: oklch(49.6% 0.247 288.1);
Tailwind
colors: {
custom: {
50: '#9f6eed',
500: '#662ce2',
950: '#000000',
},
}SCSS
$custom: #662ce2; $custom-light: #9f6eed; $custom-dark: #000000;
JSON
{
"hex": "#662ce2",
"rgb": {
"r": 102,
"g": 44,
"b": 226
},
"hsl": {
"h": 259.121,
"s": 75.833,
"l": 52.941
},
"oklch": {
"l": 0.4957,
"c": 0.2474,
"h": 288.1
},
"luminance": 0.10117
}Semantic roles & 50–950 ramp
primary
#662CE2
secondary
#C3DC8E
accent
#F235B6
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#100816
muted
#7F7B84