#6646C7#6646C7
#6646C7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.190 H 289.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6646C7 |
|---|---|
| RGB | rgb(102, 70, 199) |
| HSL | hsl(255, 54%, 53%) |
| HSV | hsv(255, 65%, 78%) |
| CMYK | cmyk(48.7%, 64.8%, 0%, 22%) |
| CIE-LAB | lab(40.13, 45.07, -62.76) |
| CIE-LCH | lch(40.13, 77.27, 305.68°) |
| OKLab | oklab(50.32% 0.0623 -0.1798) |
| OKLCH | oklch(50.32% 0.19 289.1) |
| XYZ | xyz(17.9755, 11.3279, 55.2611) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.39
Blue With A Hint Of Purple
#533CC6
ΔE00 3.77
Blurple
#5539CC
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.58
Bluish Purple
#703BE7
ΔE00 4.70
Burple
#6832E3
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646C7 #A7C746
analogous
#4666C7 #6646C7 #A746C7
triadic
#6646C7 #C76646 #46C766
tetradic
#6646C7 #C74666 #A7C746 #46C7A7
square
#6646C7 #C74666 #A7C746 #46C7A7
split-complementary
#6646C7 #C7A746 #66C746
monochromatic
#362271 #4C30A0 #6646C7 #8D75D5 #B4A4E3
Accessibility & contrast
On white
6.43
#6646C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#6646C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646C7
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646C7 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#456580
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6646c7; /* rgb */ color: rgb(102, 70, 199); /* oklch */ color: oklch(50.3% 0.190 289.1);
Tailwind
colors: {
custom: {
50: '#997bd9',
500: '#6646c7',
950: '#000000',
},
}SCSS
$custom: #6646c7; $custom-light: #997bd9; $custom-dark: #000000;
JSON
{
"hex": "#6646c7",
"rgb": {
"r": 102,
"g": 70,
"b": 199
},
"hsl": {
"h": 254.884,
"s": 53.527,
"l": 52.745
},
"oklch": {
"l": 0.50321,
"c": 0.1903,
"h": 289.1
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#6646C7
secondary
#C2D098
accent
#DD4BB9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83