#7F58BF#7F58BF
#7F58BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.156 H 298.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F58BF |
|---|---|
| RGB | rgb(127, 88, 191) |
| HSL | hsl(263, 45%, 55%) |
| HSV | hsv(263, 54%, 75%) |
| CMYK | cmyk(33.5%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(45.98, 38.18, -48.55) |
| CIE-LCH | lch(45.98, 61.76, 308.18°) |
| OKLab | oklab(55.02% 0.0749 -0.1372) |
| OKLCH | oklch(55.02% 0.156 298.6) |
| XYZ | xyz(21.6438, 15.2528, 51.0839) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.24
Deep Lavender
#8D5EB7
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.66
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F58BF #98BF58
analogous
#5865BF #7F58BF #B258BF
triadic
#7F58BF #BF7F58 #58BF7F
tetradic
#7F58BF #BF5865 #98BF58 #58BFB2
square
#7F58BF #BF5865 #98BF58 #58BFB2
split-complementary
#7F58BF #BFB258 #65BF58
monochromatic
#462B71 #613C9D #7F58BF #A184D0 #C3B0E1
Accessibility & contrast
On white
5.18
#7F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#7F58BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F58BF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F58BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F58BF | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#716C83
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f58bf; /* rgb */ color: rgb(127, 88, 191); /* oklch */ color: oklch(55.0% 0.156 298.6);
Tailwind
colors: {
custom: {
50: '#a788d3',
500: '#7f58bf',
950: '#000000',
},
}SCSS
$custom: #7f58bf; $custom-light: #a788d3; $custom-dark: #000000;
JSON
{
"hex": "#7f58bf",
"rgb": {
"r": 127,
"g": 88,
"b": 191
},
"hsl": {
"h": 262.718,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.55022,
"c": 0.15635,
"h": 298.6
},
"luminance": 0.15253
}Semantic roles & 50–950 ramp
primary
#7F58BF
secondary
#BFCFA4
accent
#D454A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83