#7F57BF#7F57BF
#7F57BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.158 H 298.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F57BF |
|---|---|
| RGB | rgb(127, 87, 191) |
| HSL | hsl(263, 45%, 55%) |
| HSV | hsv(263, 54%, 75%) |
| CMYK | cmyk(33.5%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(45.76, 38.75, -48.90) |
| CIE-LCH | lch(45.76, 62.39, 308.39°) |
| OKLab | oklab(54.86% 0.0762 -0.1383) |
| OKLCH | oklch(54.86% 0.158 298.8) |
| XYZ | xyz(21.5623, 15.0898, 51.0567) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.12
Deep Lavender
#8D5EB7
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.66
Iris
#6258C4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F57BF #97BF57
analogous
#5763BF #7F57BF #B357BF
triadic
#7F57BF #BF7F57 #57BF7F
tetradic
#7F57BF #BF5763 #97BF57 #57BFB3
square
#7F57BF #BF5763 #97BF57 #57BFB3
split-complementary
#7F57BF #BFB357 #63BF57
monochromatic
#462B71 #613C9D #7F57BF #A183D0 #C3B0E1
Accessibility & contrast
On white
5.23
#7F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7F57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F57BF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F57BF | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#716C83
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f57bf; /* rgb */ color: rgb(127, 87, 191); /* oklch */ color: oklch(54.9% 0.158 298.8);
Tailwind
colors: {
custom: {
50: '#a888d3',
500: '#7f57bf',
950: '#000000',
},
}SCSS
$custom: #7f57bf; $custom-light: #a888d3; $custom-dark: #000000;
JSON
{
"hex": "#7f57bf",
"rgb": {
"r": 127,
"g": 87,
"b": 191
},
"hsl": {
"h": 263.077,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.54858,
"c": 0.15788,
"h": 298.8
},
"luminance": 0.1509
}Semantic roles & 50–950 ramp
primary
#7F57BF
secondary
#BECFA3
accent
#D553A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83