#7E5BCD#7E5BCD
#7E5BCD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.170 H 294.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5BCD |
|---|---|
| RGB | rgb(126, 91, 205) |
| HSL | hsl(258, 53%, 58%) |
| HSV | hsv(258, 56%, 80%) |
| CMYK | cmyk(38.5%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.40, 39.94, -54.36) |
| CIE-LCH | lch(47.40, 67.45, 306.30°) |
| OKLab | oklab(56.32% 0.0703 -0.1543) |
| OKLCH | oklch(56.32% 0.17 294.5) |
| XYZ | xyz(23.3618, 16.3251, 59.6660) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.38
Purpley
#8756E4
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 5.07
Iris
#6258C4
ΔE00 5.51
Deep Lavender
#8D5EB7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5BCD #AACD5B
analogous
#5B71CD #7E5BCD #B75BCD
triadic
#7E5BCD #CD7E5B #5BCD7E
tetradic
#7E5BCD #CD5B71 #AACD5B #5BCDB7
square
#7E5BCD #CD5B71 #AACD5B #5BCDB7
split-complementary
#7E5BCD #CDB75B #71CD5B
monochromatic
#452985 #5D37B4 #7E5BCD #A38ADB #C8B9EA
Accessibility & contrast
On white
4.92
#7E5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7E5BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5BCD
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5BCD | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#2E6FCA
Tritanopia (blue-blind)
#6A738B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e5bcd; /* rgb */ color: rgb(126, 91, 205); /* oklch */ color: oklch(56.3% 0.170 294.5);
Tailwind
colors: {
custom: {
50: '#a88add',
500: '#7e5bcd',
950: '#000000',
},
}SCSS
$custom: #7e5bcd; $custom-light: #a88add; $custom-dark: #000000;
JSON
{
"hex": "#7e5bcd",
"rgb": {
"r": 126,
"g": 91,
"b": 205
},
"hsl": {
"h": 258.421,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.56322,
"c": 0.16957,
"h": 294.5
},
"luminance": 0.16326
}Semantic roles & 50–950 ramp
primary
#7E5BCD
secondary
#CBD9AB
accent
#DD4BB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83