#6C4CE3#6C4CE3
#6C4CE3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.217 H 286.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4CE3 |
|---|---|
| RGB | rgb(108, 76, 227) |
| HSL | hsl(253, 73%, 59%) |
| HSV | hsv(253, 67%, 89%) |
| CMYK | cmyk(52.4%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(44.09, 50.88, -72.35) |
| CIE-LCH | lch(44.09, 88.45, 305.12°) |
| OKLab | oklab(54% 0.0612 -0.2078) |
| OKLCH | oklch(54% 0.217 286.4) |
| XYZ | xyz(22.6298, 13.9019, 74.1491) |
| Luminance | 0.1390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.16
Bluish Purple
#703BE7
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4CE3 #C3E34C
analogous
#4C78E3 #6C4CE3 #B74CE3
triadic
#6C4CE3 #E36C4C #4CE36C
tetradic
#6C4CE3 #E34C78 #C3E34C #4CE3B7
square
#6C4CE3 #E34C78 #C3E34C #4CE3B7
split-complementary
#6C4CE3 #E3B74C #78E34C
monochromatic
#34189C #4621D1 #6C4CE3 #9781EB #C3B6F4
Accessibility & contrast
On white
5.55
#6C4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#6C4CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4CE3
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4CE3 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#3C7291
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6c4ce3; /* rgb */ color: rgb(108, 76, 227); /* oklch */ color: oklch(54.0% 0.217 286.4);
Tailwind
colors: {
custom: {
50: '#a080ed',
500: '#6c4ce3',
950: '#000000',
},
}SCSS
$custom: #6c4ce3; $custom-light: #a080ed; $custom-dark: #000000;
JSON
{
"hex": "#6c4ce3",
"rgb": {
"r": 108,
"g": 76,
"b": 227
},
"hsl": {
"h": 252.715,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.53997,
"c": 0.21662,
"h": 286.4
},
"luminance": 0.13903
}Semantic roles & 50–950 ramp
primary
#6C4CE3
secondary
#D6E3A8
accent
#F038C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84