#7F5AEF#7F5AEF
#7F5AEF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.213 H 289.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5AEF |
|---|---|
| RGB | rgb(127, 90, 239) |
| HSL | hsl(255, 82%, 65%) |
| HSV | hsv(255, 62%, 94%) |
| CMYK | cmyk(46.9%, 62.3%, 0%, 6.3%) |
| CIE-LAB | lab(49.56, 50.03, -70.14) |
| CIE-LCH | lch(49.56, 86.15, 305.50°) |
| OKLab | oklab(58.65% 0.0715 -0.2007) |
| OKLCH | oklch(58.65% 0.213 289.6) |
| XYZ | xyz(27.9841, 18.0553, 83.6551) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.42
Mediumslateblue
#7B68EE
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.97
Dark Periwinkle
#665FD1
ΔE00 6.16
Lighter Purple
#A55AF4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5AEF #CAEF5A
analogous
#5A80EF #7F5AEF #C95AEF
triadic
#7F5AEF #EF7F5A #5AEF7F
tetradic
#7F5AEF #EF5A80 #CAEF5A #5AEFC9
square
#7F5AEF #EF5A80 #CAEF5A #5AEFC9
split-complementary
#7F5AEF #EFC95A #80EF5A
monochromatic
#3C12BC #5422EA #7F5AEF #AA92F4 #D6CAFA
Accessibility & contrast
On white
4.55
#7F5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7F5AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5AEF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5AEF | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#5B7D9C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f5aef; /* rgb */ color: rgb(127, 90, 239); /* oklch */ color: oklch(58.7% 0.213 289.6);
Tailwind
colors: {
custom: {
50: '#ac8af5',
500: '#7f5aef',
950: '#000000',
},
}SCSS
$custom: #7f5aef; $custom-light: #ac8af5; $custom-dark: #000000;
JSON
{
"hex": "#7f5aef",
"rgb": {
"r": 127,
"g": 90,
"b": 239
},
"hsl": {
"h": 254.899,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.58654,
"c": 0.21306,
"h": 289.6
},
"luminance": 0.18056
}Semantic roles & 50–950 ramp
primary
#7F5AEF
secondary
#DFECB9
accent
#DF07A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85