#6B4CD6#6B4CD6
#6B4CD6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 52.9% C 0.201 H 287.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4CD6 |
|---|---|
| RGB | rgb(107, 76, 214) |
| HSL | hsl(253, 63%, 57%) |
| HSV | hsv(253, 64%, 84%) |
| CMYK | cmyk(50%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(42.99, 46.97, -66.74) |
| CIE-LCH | lch(42.99, 81.61, 305.14°) |
| OKLab | oklab(52.86% 0.0615 -0.1913) |
| OKLCH | oklch(52.86% 0.201 287.8) |
| XYZ | xyz(20.7819, 13.1488, 65.0482) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 3.97
Purpleish Blue
#6140EF
ΔE00 3.97
Bluish Purple
#703BE7
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.08
Iris
#6258C4
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4CD6 #B7D64C
analogous
#4C72D6 #6B4CD6 #B04CD6
triadic
#6B4CD6 #D66B4C #4CD66B
tetradic
#6B4CD6 #D64C72 #B7D64C #4CD6B0
square
#6B4CD6 #D64C72 #B7D64C #4CD6B0
split-complementary
#6B4CD6 #D6B04C #72D64C
monochromatic
#371F88 #4B2BBA #6B4CD6 #947EE1 #BDB0ED
Accessibility & contrast
On white
5.79
#6B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#6B4CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4CD6
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4CD6 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#456E8A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6b4cd6; /* rgb */ color: rgb(107, 76, 214); /* oklch */ color: oklch(52.9% 0.201 287.8);
Tailwind
colors: {
custom: {
50: '#9e80e4',
500: '#6b4cd6',
950: '#000000',
},
}SCSS
$custom: #6b4cd6; $custom-light: #9e80e4; $custom-dark: #000000;
JSON
{
"hex": "#6b4cd6",
"rgb": {
"r": 107,
"g": 76,
"b": 214
},
"hsl": {
"h": 253.478,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.52861,
"c": 0.20098,
"h": 287.8
},
"luminance": 0.1315
}Semantic roles & 50–950 ramp
primary
#6B4CD6
secondary
#CEDBA3
accent
#E642C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84