#7E5FBB#7E5FBB
#7E5FBB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.140 H 297.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FBB |
|---|---|
| RGB | rgb(126, 95, 187) |
| HSL | hsl(260, 40%, 55%) |
| HSV | hsv(260, 49%, 73%) |
| CMYK | cmyk(32.6%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(47.25, 32.81, -44.21) |
| CIE-LCH | lch(47.25, 55.06, 306.58°) |
| OKLab | oklab(55.87% 0.064 -0.1246) |
| OKLCH | oklch(55.87% 0.14 297.2) |
| XYZ | xyz(21.6638, 16.2076, 48.9911) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.77
Royal Purple
#7851A9
ΔE00 5.09
Light Indigo
#6D5ACF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 6.30
Iris
#6258C4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FBB #9CBB5F
analogous
#5F6EBB #7E5FBB #AC5FBB
triadic
#7E5FBB #BB7E5F #5FBB7E
tetradic
#7E5FBB #BB5F6E #9CBB5F #5FBBAC
square
#7E5FBB #BB5F6E #9CBB5F #5FBBAC
split-complementary
#7E5FBB #BBAC5F #6EBB5F
monochromatic
#453070 #60429B #7E5FBB #A18ACD #C3B5E0
Accessibility & contrast
On white
4.95
#7E5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7E5FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5FBB
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5FBB | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#717084
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e5fbb; /* rgb */ color: rgb(126, 95, 187); /* oklch */ color: oklch(55.9% 0.140 297.2);
Tailwind
colors: {
custom: {
50: '#a68dd0',
500: '#7e5fbb',
950: '#000000',
},
}SCSS
$custom: #7e5fbb; $custom-light: #a68dd0; $custom-dark: #000000;
JSON
{
"hex": "#7e5fbb",
"rgb": {
"r": 126,
"g": 95,
"b": 187
},
"hsl": {
"h": 260.217,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.55866,
"c": 0.14007,
"h": 297.2
},
"luminance": 0.16208
}Semantic roles & 50–950 ramp
primary
#7E5FBB
secondary
#C1CEA8
accent
#D058A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82