#7B57BB#7B57BB
#7B57BB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.152 H 297.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7B57BB |
|---|---|
| RGB | rgb(123, 87, 187) |
| HSL | hsl(262, 42%, 54%) |
| HSV | hsv(262, 53%, 73%) |
| CMYK | cmyk(34.2%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.10, 36.70, -47.65) |
| CIE-LCH | lch(45.10, 60.14, 307.60°) |
| OKLab | oklab(54.2% 0.0708 -0.1347) |
| OKLCH | oklch(54.2% 0.152 297.7) |
| XYZ | xyz(20.5440, 14.6149, 48.7427) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 4.80
Deep Lavender
#8D5EB7
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.04
Iris
#6258C4
ΔE00 5.62
Purpley
#8756E4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B57BB #97BB57
analogous
#5765BB #7B57BB #AD57BB
triadic
#7B57BB #BB7B57 #57BB7B
tetradic
#7B57BB #BB5765 #97BB57 #57BBAD
square
#7B57BB #BB5765 #97BB57 #57BBAD
split-complementary
#7B57BB #BBAD57 #65BB57
monochromatic
#432C6C #5E3D97 #7B57BB #9D83CD #BFAEDE
Accessibility & contrast
On white
5.35
#7B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7B57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B57BB
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B57BB | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#6D6B81
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b57bb; /* rgb */ color: rgb(123, 87, 187); /* oklch */ color: oklch(54.2% 0.152 297.7);
Tailwind
colors: {
custom: {
50: '#a587d0',
500: '#7b57bb',
950: '#000000',
},
}SCSS
$custom: #7b57bb; $custom-light: #a587d0; $custom-dark: #000000;
JSON
{
"hex": "#7b57bb",
"rgb": {
"r": 123,
"g": 87,
"b": 187
},
"hsl": {
"h": 261.6,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.542,
"c": 0.1522,
"h": 297.7
},
"luminance": 0.14615
}Semantic roles & 50–950 ramp
primary
#7B57BB
secondary
#BDCCA2
accent
#D256A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82