#6646E7#6646E7
#6646E7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.229 H 284.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6646E7 |
|---|---|
| RGB | rgb(102, 70, 231) |
| HSL | hsl(252, 77%, 59%) |
| HSV | hsv(252, 70%, 91%) |
| CMYK | cmyk(55.8%, 69.7%, 0%, 9.4%) |
| CIE-LAB | lab(42.72, 54.29, -76.88) |
| CIE-LCH | lch(42.72, 94.12, 305.23°) |
| OKLab | oklab(52.99% 0.0575 -0.2213) |
| OKLCH | oklch(52.99% 0.229 284.6) |
| XYZ | xyz(22.0891, 12.9733, 76.9260) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.54
Bluish Purple
#703BE7
ΔE00 2.58
Purpley Blue
#5F34E7
ΔE00 3.89
Burple
#6832E3
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 4.64
Blurple
#5539CC
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646E7 #C7E746
analogous
#4677E7 #6646E7 #B646E7
triadic
#6646E7 #E76646 #46E766
tetradic
#6646E7 #E74677 #C7E746 #46E7B6
square
#6646E7 #E74677 #C7E746 #46E7B6
split-complementary
#6646E7 #E7B646 #77E746
monochromatic
#30159E #401CD4 #6646E7 #937CEE #C0B2F5
Accessibility & contrast
On white
5.84
#6646E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#6646E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646E7
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646E7 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#0060E4
Tritanopia (blue-blind)
#267192
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6646e7; /* rgb */ color: rgb(102, 70, 231); /* oklch */ color: oklch(53.0% 0.229 284.6);
Tailwind
colors: {
custom: {
50: '#9e7cf0',
500: '#6646e7',
950: '#000000',
},
}SCSS
$custom: #6646e7; $custom-light: #9e7cf0; $custom-dark: #000000;
JSON
{
"hex": "#6646e7",
"rgb": {
"r": 102,
"g": 70,
"b": 231
},
"hsl": {
"h": 251.925,
"s": 77.033,
"l": 59.02
},
"oklch": {
"l": 0.52988,
"c": 0.22861,
"h": 284.6
},
"luminance": 0.12975
}Semantic roles & 50–950 ramp
primary
#6646E7
secondary
#D7E4A5
accent
#F434CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85