#6647CD#6647CD
#6647CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.196 H 288.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6647CD |
|---|---|
| RGB | rgb(102, 71, 205) |
| HSL | hsl(254, 57%, 54%) |
| HSV | hsv(254, 65%, 80%) |
| CMYK | cmyk(50.2%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(40.80, 46.25, -65.15) |
| CIE-LCH | lch(40.80, 79.89, 305.37°) |
| OKLab | oklab(50.95% 0.0606 -0.1868) |
| OKLCH | oklch(50.95% 0.196 288) |
| XYZ | xyz(18.7490, 11.7382, 59.0236) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.87
Blue With A Hint Of Purple
#533CC6
ΔE00 4.07
Bluish Purple
#703BE7
ΔE00 4.13
Blurple
#5539CC
ΔE00 4.16
Purpleish Blue
#6140EF
ΔE00 4.37
Burple
#6832E3
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6647CD #AECD47
analogous
#476BCD #6647CD #A947CD
triadic
#6647CD #CD6647 #47CD66
tetradic
#6647CD #CD476B #AECD47 #47CDA9
square
#6647CD #CD476B #AECD47 #47CDA9
split-complementary
#6647CD #CDA947 #6BCD47
monochromatic
#352179 #4A2EA9 #6647CD #8E77DA #B6A7E7
Accessibility & contrast
On white
6.27
#6647CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#6647CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6647CD
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6647CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6647CD | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#416884
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6647cd; /* rgb */ color: rgb(102, 71, 205); /* oklch */ color: oklch(50.9% 0.196 288.0);
Tailwind
colors: {
custom: {
50: '#9a7cdd',
500: '#6647cd',
950: '#000000',
},
}SCSS
$custom: #6647cd; $custom-light: #9a7cdd; $custom-dark: #000000;
JSON
{
"hex": "#6647cd",
"rgb": {
"r": 102,
"g": 71,
"b": 205
},
"hsl": {
"h": 253.881,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.5095,
"c": 0.19642,
"h": 288
},
"luminance": 0.11739
}Semantic roles & 50–950 ramp
primary
#6647CD
secondary
#C7D49B
accent
#E147BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83