#7F59CF#7F59CF
#7F59CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.175 H 295.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59CF |
|---|---|
| RGB | rgb(127, 89, 207) |
| HSL | hsl(259, 55%, 58%) |
| HSV | hsv(259, 57%, 81%) |
| CMYK | cmyk(38.6%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(47.19, 41.84, -55.84) |
| CIE-LCH | lch(47.19, 69.78, 306.85°) |
| OKLab | oklab(56.23% 0.074 -0.1587) |
| OKLCH | oklch(56.23% 0.175 295) |
| XYZ | xyz(23.5843, 16.1613, 60.8962) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 4.09
Dark Periwinkle
#665FD1
ΔE00 5.36
Iris
#6258C4
ΔE00 5.70
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59CF #A9CF59
analogous
#596ECF #7F59CF #BA59CF
triadic
#7F59CF #CF7F59 #59CF7F
tetradic
#7F59CF #CF596E #A9CF59 #59CFBA
square
#7F59CF #CF596E #A9CF59 #59CFBA
split-complementary
#7F59CF #CFBA59 #6ECF59
monochromatic
#462787 #5E35B6 #7F59CF #A488DD #C8B8EA
Accessibility & contrast
On white
4.96
#7F59CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7F59CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F59CF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F59CF | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#6B728B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7f59cf; /* rgb */ color: rgb(127, 89, 207); /* oklch */ color: oklch(56.2% 0.175 295.0);
Tailwind
colors: {
custom: {
50: '#a989de',
500: '#7f59cf',
950: '#000000',
},
}SCSS
$custom: #7f59cf; $custom-light: #a989de; $custom-dark: #000000;
JSON
{
"hex": "#7f59cf",
"rgb": {
"r": 127,
"g": 89,
"b": 207
},
"hsl": {
"h": 259.322,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.56229,
"c": 0.17507,
"h": 295
},
"luminance": 0.16162
}Semantic roles & 50–950 ramp
primary
#7F59CF
secondary
#CAD9AA
accent
#DE49AE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83