#7F5AE3#7F5AE3
#7F5AE3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.198 H 291.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5AE3 |
|---|---|
| RGB | rgb(127, 90, 227) |
| HSL | hsl(256, 71%, 62%) |
| HSV | hsv(256, 60%, 89%) |
| CMYK | cmyk(44.1%, 60.4%, 0%, 11%) |
| CIE-LAB | lab(48.72, 46.72, -64.75) |
| CIE-LCH | lch(48.72, 79.84, 305.81°) |
| OKLab | oklab(57.78% 0.0723 -0.1848) |
| OKLCH | oklch(57.78% 0.198 291.4) |
| XYZ | xyz(26.2698, 17.3695, 74.6267) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.70
Light Indigo
#6D5ACF
ΔE00 4.24
Mediumslateblue
#7B68EE
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 5.38
Iris
#6258C4
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5AE3 #BEE35A
analogous
#5A7AE3 #7F5AE3 #C35AE3
triadic
#7F5AE3 #E37F5A #5AE37F
tetradic
#7F5AE3 #E35A7A #BEE35A #5AE3C3
square
#7F5AE3 #E35A7A #BEE35A #5AE3C3
split-complementary
#7F5AE3 #E3C35A #7AE35A
monochromatic
#421CA6 #5626DA #7F5AE3 #A88EEC #D0C3F5
Accessibility & contrast
On white
4.69
#7F5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7F5AE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5AE3
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5AE3 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#627996
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f5ae3; /* rgb */ color: rgb(127, 90, 227); /* oklch */ color: oklch(57.8% 0.198 291.4);
Tailwind
colors: {
custom: {
50: '#ab8aed',
500: '#7f5ae3',
950: '#000000',
},
}SCSS
$custom: #7f5ae3; $custom-light: #ab8aed; $custom-dark: #000000;
JSON
{
"hex": "#7f5ae3",
"rgb": {
"r": 127,
"g": 90,
"b": 227
},
"hsl": {
"h": 256.204,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.57776,
"c": 0.19849,
"h": 291.4
},
"luminance": 0.1737
}Semantic roles & 50–950 ramp
primary
#7F5AE3
secondary
#D8E6B3
accent
#D3129F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84