#662FC9#662FC9
#662FC9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.218 H 292.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #662FC9 |
|---|---|
| RGB | rgb(102, 47, 201) |
| HSL | hsl(261, 62%, 49%) |
| HSV | hsv(261, 77%, 79%) |
| CMYK | cmyk(49.3%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(36.13, 57.23, -70.46) |
| CIE-LCH | lch(36.13, 90.77, 309.08°) |
| OKLab | oklab(47.53% 0.0824 -0.2023) |
| OKLCH | oklch(47.53% 0.218 292.2) |
| XYZ | xyz(17.0357, 9.0742, 56.1009) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.61
Blurple
#5539CC
ΔE00 3.19
Burple
#6832E3
ΔE00 3.57
Bluey Purple
#6241C7
ΔE00 3.77
Blue With A Hint Of Purple
#533CC6
ΔE00 3.86
Purpley Blue
#5F34E7
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662FC9 #92C92F
analogous
#2F45C9 #662FC9 #B32FC9
triadic
#662FC9 #C9662F #2FC966
tetradic
#662FC9 #C92F45 #92C92F #2FC9B3
square
#662FC9 #C92F45 #92C92F #2FC9B3
split-complementary
#662FC9 #C9B32F #45C92F
monochromatic
#341866 #4D2397 #662FC9 #895CD9 #AD8EE5
Accessibility & contrast
On white
7.46
#662FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#662FC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662FC9
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662FC9 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#455A7B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #662fc9; /* rgb */ color: rgb(102, 47, 201); /* oklch */ color: oklch(47.5% 0.218 292.2);
Tailwind
colors: {
custom: {
50: '#9b6edb',
500: '#662fc9',
950: '#000000',
},
}SCSS
$custom: #662fc9; $custom-light: #9b6edb; $custom-dark: #000000;
JSON
{
"hex": "#662fc9",
"rgb": {
"r": 102,
"g": 47,
"b": 201
},
"hsl": {
"h": 261.429,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.47526,
"c": 0.21846,
"h": 292.2
},
"luminance": 0.09075
}Semantic roles & 50–950 ramp
primary
#662FC9
secondary
#B4CF85
accent
#E543AB
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83