#7F59CA#7F59CA
#7F59CA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.169 H 296.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59CA |
|---|---|
| RGB | rgb(127, 89, 202) |
| HSL | hsl(260, 52%, 57%) |
| HSV | hsv(260, 56%, 79%) |
| CMYK | cmyk(37.1%, 55.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.87, 40.51, -53.48) |
| CIE-LCH | lch(46.87, 67.09, 307.14°) |
| OKLab | oklab(55.9% 0.074 -0.1517) |
| OKLCH | oklch(55.9% 0.169 296) |
| XYZ | xyz(22.9827, 15.9206, 57.7278) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.77
Purpley
#8756E4
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.27
Deep Lavender
#8D5EB7
ΔE00 5.41
Dark Periwinkle
#665FD1
ΔE00 5.63
Iris
#6258C4
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59CA #A4CA59
analogous
#596CCA #7F59CA #B859CA
triadic
#7F59CA #CA7F59 #59CA7F
tetradic
#7F59CA #CA596C #A4CA59 #59CAB8
square
#7F59CA #CA596C #A4CA59 #59CAB8
split-complementary
#7F59CA #CAB859 #6CCA59
monochromatic
#462980 #5F38AE #7F59CA #A387D9 #C7B6E8
Accessibility & contrast
On white
5.02
#7F59CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7F59CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F59CA
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F59CA | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#306EC7
Tritanopia (blue-blind)
#6D7089
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f59ca; /* rgb */ color: rgb(127, 89, 202); /* oklch */ color: oklch(55.9% 0.169 296.0);
Tailwind
colors: {
custom: {
50: '#a889db',
500: '#7f59ca',
950: '#000000',
},
}SCSS
$custom: #7f59ca; $custom-light: #a889db; $custom-dark: #000000;
JSON
{
"hex": "#7f59ca",
"rgb": {
"r": 127,
"g": 89,
"b": 202
},
"hsl": {
"h": 260.177,
"s": 51.598,
"l": 57.059
},
"oklch": {
"l": 0.55896,
"c": 0.16878,
"h": 296
},
"luminance": 0.15921
}Semantic roles & 50–950 ramp
primary
#7F59CA
secondary
#C7D6A8
accent
#DB4DAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83