#7F4AE3#7F4AE3
#7F4AE3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.219 H 294.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4AE3 |
|---|---|
| RGB | rgb(127, 74, 227) |
| HSL | hsl(261, 73%, 59%) |
| HSV | hsv(261, 67%, 89%) |
| CMYK | cmyk(44.1%, 67.4%, 0%, 11%) |
| CIE-LAB | lab(45.57, 55.23, -69.86) |
| CIE-LCH | lch(45.57, 89.05, 308.33°) |
| OKLab | oklab(55.5% 0.0889 -0.1999) |
| OKLCH | oklch(55.5% 0.219 294) |
| XYZ | xyz(25.0625, 14.9549, 74.2242) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.38
Bluish Purple
#703BE7
ΔE00 4.11
Purpleish Blue
#6140EF
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4AE3 #AEE34A
analogous
#4A62E3 #7F4AE3 #CB4AE3
triadic
#7F4AE3 #E37F4A #4AE37F
tetradic
#7F4AE3 #E34A62 #AEE34A #4AE3CB
square
#7F4AE3 #E34A62 #AEE34A #4AE3CB
split-complementary
#7F4AE3 #E3CB4A #62E34A
monochromatic
#45189B #5D20D0 #7F4AE3 #A47FEB #CAB4F3
Accessibility & contrast
On white
5.26
#7F4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7F4AE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4AE3
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4AE3 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#636F91
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f4ae3; /* rgb */ color: rgb(127, 74, 227); /* oklch */ color: oklch(55.5% 0.219 294.0);
Tailwind
colors: {
custom: {
50: '#ac80ed',
500: '#7f4ae3',
950: '#000000',
},
}SCSS
$custom: #7f4ae3; $custom-light: #ac80ed; $custom-dark: #000000;
JSON
{
"hex": "#7f4ae3",
"rgb": {
"r": 127,
"g": 74,
"b": 227
},
"hsl": {
"h": 260.784,
"s": 73.206,
"l": 59.02
},
"oklch": {
"l": 0.55498,
"c": 0.21872,
"h": 294
},
"luminance": 0.14956
}Semantic roles & 50–950 ramp
primary
#7F4AE3
secondary
#CEE2A6
accent
#F038B0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84