#7F59BF#7F59BF
#7F59BF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.155 H 298.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59BF |
|---|---|
| RGB | rgb(127, 89, 191) |
| HSL | hsl(262, 44%, 55%) |
| HSV | hsv(262, 53%, 75%) |
| CMYK | cmyk(33.5%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.20, 37.61, -48.19) |
| CIE-LCH | lch(46.20, 61.13, 307.97°) |
| OKLab | oklab(55.19% 0.0736 -0.1362) |
| OKLCH | oklch(55.19% 0.155 298.4) |
| XYZ | xyz(21.7264, 15.4181, 51.1115) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.18
Royal Purple
#7851A9
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.68
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59BF #99BF59
analogous
#5966BF #7F59BF #B259BF
triadic
#7F59BF #BF7F59 #59BF7F
tetradic
#7F59BF #BF5966 #99BF59 #59BFB2
square
#7F59BF #BF5966 #99BF59 #59BFB2
split-complementary
#7F59BF #BFB259 #66BF59
monochromatic
#462C72 #613D9E #7F59BF #A185D0 #C3B1E1
Accessibility & contrast
On white
5.14
#7F59BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7F59BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F59BF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F59BF | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316EC2
Deuteranopia (green-blind)
#3C6CBD
Tritanopia (blue-blind)
#716D83
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f59bf; /* rgb */ color: rgb(127, 89, 191); /* oklch */ color: oklch(55.2% 0.155 298.4);
Tailwind
colors: {
custom: {
50: '#a789d3',
500: '#7f59bf',
950: '#000000',
},
}SCSS
$custom: #7f59bf; $custom-light: #a789d3; $custom-dark: #000000;
JSON
{
"hex": "#7f59bf",
"rgb": {
"r": 127,
"g": 89,
"b": 191
},
"hsl": {
"h": 262.353,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.55187,
"c": 0.15481,
"h": 298.4
},
"luminance": 0.15418
}Semantic roles & 50–950 ramp
primary
#7F59BF
secondary
#BFCFA4
accent
#D454A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83