#7E5ABC#7E5ABC
#7E5ABC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.149 H 298.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5ABC |
|---|---|
| RGB | rgb(126, 90, 188) |
| HSL | hsl(262, 42%, 55%) |
| HSV | hsv(262, 52%, 74%) |
| CMYK | cmyk(33%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(46.15, 35.99, -46.54) |
| CIE-LCH | lch(46.15, 58.83, 307.72°) |
| OKLab | oklab(55.07% 0.0708 -0.1314) |
| OKLCH | oklch(55.07% 0.149 298.3) |
| XYZ | xyz(21.3352, 15.3786, 49.4115) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.99
Royal Purple
#7851A9
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.35
Iris
#6258C4
ΔE00 6.14
Purpley
#8756E4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5ABC #98BC5A
analogous
#5A67BC #7E5ABC #AF5ABC
triadic
#7E5ABC #BC7E5A #5ABC7E
tetradic
#7E5ABC #BC5A67 #98BC5A #5ABCAF
square
#7E5ABC #BC5A67 #98BC5A #5ABCAF
split-complementary
#7E5ABC #BCAF5A #67BC5A
monochromatic
#452D6F #603F9A #7E5ABC #A086CE #C2B1DF
Accessibility & contrast
On white
5.15
#7E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7E5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5ABC
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5ABC | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#716D82
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e5abc; /* rgb */ color: rgb(126, 90, 188); /* oklch */ color: oklch(55.1% 0.149 298.3);
Tailwind
colors: {
custom: {
50: '#a689d1',
500: '#7e5abc',
950: '#000000',
},
}SCSS
$custom: #7e5abc; $custom-light: #a689d1; $custom-dark: #000000;
JSON
{
"hex": "#7e5abc",
"rgb": {
"r": 126,
"g": 90,
"b": 188
},
"hsl": {
"h": 262.041,
"s": 42.241,
"l": 54.51
},
"oklch": {
"l": 0.55067,
"c": 0.14926,
"h": 298.3
},
"luminance": 0.15379
}Semantic roles & 50–950 ramp
primary
#7E5ABC
secondary
#BECEA4
accent
#D256A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82