#6B4CD2#6B4CD2
#6B4CD2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.196 H 288.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4CD2 |
|---|---|
| RGB | rgb(107, 76, 210) |
| HSL | hsl(254, 60%, 56%) |
| HSV | hsv(254, 64%, 82%) |
| CMYK | cmyk(49%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.68, 45.82, -64.94) |
| CIE-LCH | lch(42.68, 79.48, 305.20°) |
| OKLab | oklab(52.55% 0.0619 -0.186) |
| OKLCH | oklch(52.55% 0.196 288.4) |
| XYZ | xyz(20.2773, 12.9469, 62.3909) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.02
Bluish Purple
#703BE7
ΔE00 4.25
Purpleish Blue
#6140EF
ΔE00 4.37
Iris
#6258C4
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4CD2 #B3D24C
analogous
#4C70D2 #6B4CD2 #AE4CD2
triadic
#6B4CD2 #D26B4C #4CD26B
tetradic
#6B4CD2 #D24C70 #B3D24C #4CD2AE
square
#6B4CD2 #D24C70 #B3D24C #4CD2AE
split-complementary
#6B4CD2 #D2AE4C #70D24C
monochromatic
#382183 #4C2DB4 #6B4CD2 #937DDE #BCAEEB
Accessibility & contrast
On white
5.85
#6B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6B4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4CD2
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4CD2 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#476C88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6b4cd2; /* rgb */ color: rgb(107, 76, 210); /* oklch */ color: oklch(52.5% 0.196 288.4);
Tailwind
colors: {
custom: {
50: '#9d80e1',
500: '#6b4cd2',
950: '#000000',
},
}SCSS
$custom: #6b4cd2; $custom-light: #9d80e1; $custom-dark: #000000;
JSON
{
"hex": "#6b4cd2",
"rgb": {
"r": 107,
"g": 76,
"b": 210
},
"hsl": {
"h": 253.881,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.52547,
"c": 0.19607,
"h": 288.4
},
"luminance": 0.12948
}Semantic roles & 50–950 ramp
primary
#6B4CD2
secondary
#CCD9A1
accent
#E345BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83