#6646CB#6646CB
#6646CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.195 H 288.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6646CB |
|---|---|
| RGB | rgb(102, 70, 203) |
| HSL | hsl(254, 56%, 54%) |
| HSV | hsv(254, 66%, 80%) |
| CMYK | cmyk(49.8%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(40.44, 46.22, -64.58) |
| CIE-LCH | lch(40.44, 79.42, 305.59°) |
| OKLab | oklab(50.64% 0.0618 -0.1851) |
| OKLCH | oklch(50.64% 0.195 288.5) |
| XYZ | xyz(18.4460, 11.5161, 57.7392) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.52
Blue With A Hint Of Purple
#533CC6
ΔE00 3.84
Blurple
#5539CC
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.24
Purpleish Blue
#6140EF
ΔE00 4.60
Burple
#6832E3
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646CB #ABCB46
analogous
#4668CB #6646CB #A846CB
triadic
#6646CB #CB6646 #46CB66
tetradic
#6646CB #CB4668 #ABCB46 #46CBA8
square
#6646CB #CB4668 #ABCB46 #46CBA8
split-complementary
#6646CB #CBA846 #68CB46
monochromatic
#352176 #4B2EA5 #6646CB #8E76D8 #B5A6E6
Accessibility & contrast
On white
6.36
#6646CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#6646CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646CB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646CB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#436782
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6646cb; /* rgb */ color: rgb(102, 70, 203); /* oklch */ color: oklch(50.6% 0.195 288.5);
Tailwind
colors: {
custom: {
50: '#9a7bdc',
500: '#6646cb',
950: '#000000',
},
}SCSS
$custom: #6646cb; $custom-light: #9a7bdc; $custom-dark: #000000;
JSON
{
"hex": "#6646cb",
"rgb": {
"r": 102,
"g": 70,
"b": 203
},
"hsl": {
"h": 254.436,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.50641,
"c": 0.1952,
"h": 288.5
},
"luminance": 0.11517
}Semantic roles & 50–950 ramp
primary
#6646CB
secondary
#C5D39A
accent
#DF48BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83