#7E5BCE#7E5BCE
#7E5BCE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.171 H 294.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5BCE |
|---|---|
| RGB | rgb(126, 91, 206) |
| HSL | hsl(258, 54%, 58%) |
| HSV | hsv(258, 56%, 81%) |
| CMYK | cmyk(38.8%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(47.46, 40.21, -54.83) |
| CIE-LCH | lch(47.46, 67.99, 306.25°) |
| OKLab | oklab(56.39% 0.0703 -0.1557) |
| OKLCH | oklch(56.39% 0.171 294.3) |
| XYZ | xyz(23.4829, 16.3735, 60.3037) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.34
Purpley
#8756E4
ΔE00 3.57
Slate Blue
#6A5ACD
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 5.02
Iris
#6258C4
ΔE00 5.52
Deep Lavender
#8D5EB7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5BCE #ABCE5B
analogous
#5B71CE #7E5BCE #B75BCE
triadic
#7E5BCE #CE7E5B #5BCE7E
tetradic
#7E5BCE #CE5B71 #ABCE5B #5BCEB7
square
#7E5BCE #CE5B71 #ABCE5B #5BCEB7
split-complementary
#7E5BCE #CEB75B #71CE5B
monochromatic
#452886 #5D36B6 #7E5BCE #A38ADC #C8B9EA
Accessibility & contrast
On white
4.91
#7E5BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7E5BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5BCE
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5BCE | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#6A738C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e5bce; /* rgb */ color: rgb(126, 91, 206); /* oklch */ color: oklch(56.4% 0.171 294.3);
Tailwind
colors: {
custom: {
50: '#a88ade',
500: '#7e5bce',
950: '#000000',
},
}SCSS
$custom: #7e5bce; $custom-light: #a88ade; $custom-dark: #000000;
JSON
{
"hex": "#7e5bce",
"rgb": {
"r": 126,
"g": 91,
"b": 206
},
"hsl": {
"h": 258.261,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.56388,
"c": 0.17085,
"h": 294.3
},
"luminance": 0.16374
}Semantic roles & 50–950 ramp
primary
#7E5BCE
secondary
#CBD9AB
accent
#DD4AB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83