#6646DF#6646DF
#6646DF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.219 H 285.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6646DF |
|---|---|
| RGB | rgb(102, 70, 223) |
| HSL | hsl(253, 71%, 57%) |
| HSV | hsv(253, 69%, 87%) |
| CMYK | cmyk(54.3%, 68.6%, 0%, 12.5%) |
| CIE-LAB | lab(42.05, 51.99, -73.44) |
| CIE-LCH | lch(42.05, 89.98, 305.30°) |
| OKLab | oklab(52.3% 0.0589 -0.2112) |
| OKLCH | oklch(52.3% 0.219 285.6) |
| XYZ | xyz(20.9849, 12.5316, 71.1108) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.16
Bluish Purple
#703BE7
ΔE00 2.65
Bluey Purple
#6241C7
ΔE00 3.66
Purpley Blue
#5F34E7
ΔE00 3.77
Burple
#6832E3
ΔE00 3.94
Blurple
#5539CC
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646DF #BFDF46
analogous
#4673DF #6646DF #B346DF
triadic
#6646DF #DF6646 #46DF66
tetradic
#6646DF #DF4673 #BFDF46 #46DFB3
square
#6646DF #DF4673 #BFDF46 #46DFB3
split-complementary
#6646DF #DFB346 #73DF46
monochromatic
#321991 #4422C6 #6646DF #917AE8 #BCAEF1
Accessibility & contrast
On white
5.99
#6646DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#6646DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646DF
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646DF | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#316E8D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6646df; /* rgb */ color: rgb(102, 70, 223); /* oklch */ color: oklch(52.3% 0.219 285.6);
Tailwind
colors: {
custom: {
50: '#9d7cea',
500: '#6646df',
950: '#000000',
},
}SCSS
$custom: #6646df; $custom-light: #9d7cea; $custom-dark: #000000;
JSON
{
"hex": "#6646df",
"rgb": {
"r": 102,
"g": 70,
"b": 223
},
"hsl": {
"h": 252.549,
"s": 70.507,
"l": 57.451
},
"oklch": {
"l": 0.52299,
"c": 0.21923,
"h": 285.6
},
"luminance": 0.12533
}Semantic roles & 50–950 ramp
primary
#6646DF
secondary
#D2DFA2
accent
#ED3BC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84