#7F59FD#7F59FD
#7F59FD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.231 H 287.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59FD |
|---|---|
| RGB | rgb(127, 89, 253) |
| HSL | hsl(254, 98%, 67%) |
| HSV | hsv(254, 65%, 99%) |
| CMYK | cmyk(49.8%, 64.8%, 0%, 0.8%) |
| CIE-LAB | lab(50.39, 54.45, -76.61) |
| CIE-LCH | lch(50.39, 93.99, 305.41°) |
| OKLab | oklab(59.58% 0.0711 -0.2197) |
| OKLCH | oklch(59.58% 0.231 287.9) |
| XYZ | xyz(30.0492, 18.7472, 94.9447) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Mediumslateblue
#7B68EE
ΔE00 4.23
Lighter Purple
#A55AF4
ΔE00 6.66
Light Indigo
#6D5ACF
ΔE00 6.95
Dark Periwinkle
#665FD1
ΔE00 7.41
Slate Blue
#6A5ACD
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59FD #D7FD59
analogous
#5985FD #7F59FD #D159FD
triadic
#7F59FD #FD7F59 #59FD7F
tetradic
#7F59FD #FD5985 #D7FD59 #59FDD1
square
#7F59FD #FD5985 #D7FD59 #59FDD1
split-complementary
#7F59FD #FDD159 #85FD59
monochromatic
#3403D9 #501DFC #7F59FD #AE95FE #DCD2FE
Accessibility & contrast
On white
4.42
#7F59FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F59FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F59FD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F59FD | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#5181A3
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f59fd; /* rgb */ color: rgb(127, 89, 253); /* oklch */ color: oklch(59.6% 0.231 287.9);
Tailwind
colors: {
custom: {
50: '#ae8aff',
500: '#7f59fd',
950: '#000000',
},
}SCSS
$custom: #7f59fd; $custom-light: #ae8aff; $custom-dark: #000000;
JSON
{
"hex": "#7f59fd",
"rgb": {
"r": 127,
"g": 89,
"b": 253
},
"hsl": {
"h": 253.902,
"s": 97.619,
"l": 67.059
},
"oklch": {
"l": 0.59575,
"c": 0.23093,
"h": 287.9
},
"luminance": 0.18749
}Semantic roles & 50–950 ramp
primary
#7F59FD
secondary
#E7F3BF
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86