#7F59F0#7F59F0
#7F59F0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.216 H 289.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59F0 |
|---|---|
| RGB | rgb(127, 89, 240) |
| HSL | hsl(255, 83%, 65%) |
| HSV | hsv(255, 63%, 94%) |
| CMYK | cmyk(47.1%, 62.9%, 0%, 5.9%) |
| CIE-LAB | lab(49.43, 50.85, -70.91) |
| CIE-LCH | lch(49.43, 87.26, 305.64°) |
| OKLab | oklab(58.58% 0.0724 -0.203) |
| OKLCH | oklch(58.58% 0.216 289.6) |
| XYZ | xyz(28.0485, 17.9469, 84.4074) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Mediumslateblue
#7B68EE
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 6.04
Dark Periwinkle
#665FD1
ΔE00 6.28
Lighter Purple
#A55AF4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59F0 #CAF059
analogous
#597FF0 #7F59F0 #CA59F0
triadic
#7F59F0 #F07F59 #59F07F
tetradic
#7F59F0 #F0597F #CAF059 #59F0CA
square
#7F59F0 #F0597F #CAF059 #59F0CA
split-complementary
#7F59F0 #F0CA59 #7FF059
monochromatic
#3C11BD #5421EB #7F59F0 #AA91F5 #D6C9FA
Accessibility & contrast
On white
4.58
#7F59F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7F59F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F59F0
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F59F0 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#5A7D9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f59f0; /* rgb */ color: rgb(127, 89, 240); /* oklch */ color: oklch(58.6% 0.216 289.6);
Tailwind
colors: {
custom: {
50: '#ac8af6',
500: '#7f59f0',
950: '#000000',
},
}SCSS
$custom: #7f59f0; $custom-light: #ac8af6; $custom-dark: #000000;
JSON
{
"hex": "#7f59f0",
"rgb": {
"r": 127,
"g": 89,
"b": 240
},
"hsl": {
"h": 255.099,
"s": 83.425,
"l": 64.51
},
"oklch": {
"l": 0.58581,
"c": 0.21552,
"h": 289.6
},
"luminance": 0.17948
}Semantic roles & 50–950 ramp
primary
#7F59F0
secondary
#DFECB8
accent
#E006A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85