#6647BC#6647BC
#6647BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.175 H 290.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6647BC |
|---|---|
| RGB | rgb(102, 71, 188) |
| HSL | hsl(256, 47%, 51%) |
| HSV | hsv(256, 62%, 74%) |
| CMYK | cmyk(45.7%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(39.52, 41.35, -57.34) |
| CIE-LCH | lch(39.52, 70.69, 305.80°) |
| OKLab | oklab(49.62% 0.0623 -0.1639) |
| OKLCH | oklch(49.62% 0.175 290.8) |
| XYZ | xyz(16.8073, 10.9615, 48.7974) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.28
Ocean Blue
#4F42B5
ΔE00 4.11
Blue With A Hint Of Purple
#533CC6
ΔE00 4.25
Blurple
#5539CC
ΔE00 4.73
Iris
#6258C4
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6647BC #9DBC47
analogous
#4762BC #6647BC #A047BC
triadic
#6647BC #BC6647 #47BC66
tetradic
#6647BC #BC4762 #9DBC47 #47BCA0
square
#6647BC #BC4762 #9DBC47 #47BCA0
split-complementary
#6647BC #BCA047 #62BC47
monochromatic
#352464 #4D3591 #6647BC #8B74CC #B1A1DD
Accessibility & contrast
On white
6.58
#6647BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#6647BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6647BC
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6647BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6647BC | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#4C627B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6647bc; /* rgb */ color: rgb(102, 71, 188); /* oklch */ color: oklch(49.6% 0.175 290.8);
Tailwind
colors: {
custom: {
50: '#987cd1',
500: '#6647bc',
950: '#000000',
},
}SCSS
$custom: #6647bc; $custom-light: #987cd1; $custom-dark: #000000;
JSON
{
"hex": "#6647bc",
"rgb": {
"r": 102,
"g": 71,
"b": 188
},
"hsl": {
"h": 255.897,
"s": 46.614,
"l": 50.784
},
"oklch": {
"l": 0.49618,
"c": 0.17529,
"h": 290.8
},
"luminance": 0.10962
}Semantic roles & 50–950 ramp
primary
#6647BC
secondary
#BCC995
accent
#D652B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82