#6D4CD2#6D4CD2
#6D4CD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.196 H 289.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4CD2 |
|---|---|
| RGB | rgb(109, 76, 210) |
| HSL | hsl(255, 60%, 56%) |
| HSV | hsv(255, 64%, 82%) |
| CMYK | cmyk(48.1%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.87, 46.19, -64.62) |
| CIE-LCH | lch(42.87, 79.44, 305.56°) |
| OKLab | oklab(52.73% 0.0646 -0.1851) |
| OKLCH | oklch(52.73% 0.196 289.2) |
| XYZ | xyz(20.5206, 13.0724, 62.4023) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.06
Bluish Purple
#703BE7
ΔE00 4.20
Purpleish Blue
#6140EF
ΔE00 4.48
Iris
#6258C4
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4CD2 #B1D24C
analogous
#4C6ED2 #6D4CD2 #B04CD2
triadic
#6D4CD2 #D26D4C #4CD26D
tetradic
#6D4CD2 #D24C6E #B1D24C #4CD2B0
square
#6D4CD2 #D24C6E #B1D24C #4CD2B0
split-complementary
#6D4CD2 #D2B04C #6ED24C
monochromatic
#392183 #4E2DB4 #6D4CD2 #957DDE #BDAEEB
Accessibility & contrast
On white
5.81
#6D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#6D4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4CD2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4CD2 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#4B6C88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6d4cd2; /* rgb */ color: rgb(109, 76, 210); /* oklch */ color: oklch(52.7% 0.196 289.2);
Tailwind
colors: {
custom: {
50: '#9f80e1',
500: '#6d4cd2',
950: '#000000',
},
}SCSS
$custom: #6d4cd2; $custom-light: #9f80e1; $custom-dark: #000000;
JSON
{
"hex": "#6d4cd2",
"rgb": {
"r": 109,
"g": 76,
"b": 210
},
"hsl": {
"h": 254.776,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.52729,
"c": 0.196,
"h": 289.2
},
"luminance": 0.13073
}Semantic roles & 50–950 ramp
primary
#6D4CD2
secondary
#CBD9A1
accent
#E345BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83