#7B5BE5#7B5BE5
#7B5BE5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.200 H 289.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5BE5 |
|---|---|
| RGB | rgb(123, 91, 229) |
| HSL | hsl(254, 73%, 63%) |
| HSV | hsv(254, 60%, 90%) |
| CMYK | cmyk(46.3%, 60.3%, 0%, 10.2%) |
| CIE-LAB | lab(48.70, 45.91, -65.93) |
| CIE-LCH | lch(48.70, 80.34, 304.85°) |
| OKLab | oklab(57.71% 0.066 -0.1885) |
| OKLCH | oklch(57.71% 0.2 289.3) |
| XYZ | xyz(26.0483, 17.3493, 76.0898) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.47
Light Indigo
#6D5ACF
ΔE00 3.97
Mediumslateblue
#7B68EE
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.84
Iris
#6258C4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5BE5 #C5E55B
analogous
#5B80E5 #7B5BE5 #C05BE5
triadic
#7B5BE5 #E57B5B #5BE57B
tetradic
#7B5BE5 #E55B80 #C5E55B #5BE5C0
square
#7B5BE5 #E55B80 #C5E55B #5BE5C0
split-complementary
#7B5BE5 #E5C05B #80E55B
monochromatic
#3C1BAB #5026DD #7B5BE5 #A690ED #D0C5F6
Accessibility & contrast
On white
4.70
#7B5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7B5BE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5BE5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5BE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5BE5 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#597B97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b5be5; /* rgb */ color: rgb(123, 91, 229); /* oklch */ color: oklch(57.7% 0.200 289.3);
Tailwind
colors: {
custom: {
50: '#a88bee',
500: '#7b5be5',
950: '#000000',
},
}SCSS
$custom: #7b5be5; $custom-light: #a88bee; $custom-dark: #000000;
JSON
{
"hex": "#7b5be5",
"rgb": {
"r": 123,
"g": 91,
"b": 229
},
"hsl": {
"h": 253.913,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.57712,
"c": 0.19967,
"h": 289.3
},
"luminance": 0.1735
}Semantic roles & 50–950 ramp
primary
#7B5BE5
secondary
#DBE7B5
accent
#D511A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84