#7F4FD9#7F4FD9
#7F4FD9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.201 H 295.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FD9 |
|---|---|
| RGB | rgb(127, 79, 217) |
| HSL | hsl(261, 64%, 58%) |
| HSV | hsv(261, 64%, 85%) |
| CMYK | cmyk(41.5%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(45.79, 50.00, -63.82) |
| CIE-LCH | lch(45.79, 81.07, 308.08°) |
| OKLab | oklab(55.42% 0.085 -0.1821) |
| OKLCH | oklch(55.42% 0.201 295) |
| XYZ | xyz(24.0694, 15.1132, 67.2812) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 5.08
Bluish Purple
#703BE7
ΔE00 5.24
Purpleish Blue
#6140EF
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FD9 #A9D94F
analogous
#4F64D9 #7F4FD9 #C44FD9
triadic
#7F4FD9 #D97F4F #4FD97F
tetradic
#7F4FD9 #D94F64 #A9D94F #4FD9C4
square
#7F4FD9 #D94F64 #A9D94F #4FD9C4
split-complementary
#7F4FD9 #D9C44F #64D94F
monochromatic
#461F8F #5E2AC1 #7F4FD9 #A481E4 #C8B4EF
Accessibility & contrast
On white
5.22
#7F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7F4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FD9
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FD9 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#676F8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f4fd9; /* rgb */ color: rgb(127, 79, 217); /* oklch */ color: oklch(55.4% 0.201 295.0);
Tailwind
colors: {
custom: {
50: '#aa83e6',
500: '#7f4fd9',
950: '#000000',
},
}SCSS
$custom: #7f4fd9; $custom-light: #aa83e6; $custom-dark: #000000;
JSON
{
"hex": "#7f4fd9",
"rgb": {
"r": 127,
"g": 79,
"b": 217
},
"hsl": {
"h": 260.87,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.55424,
"c": 0.20095,
"h": 295
},
"luminance": 0.15114
}Semantic roles & 50–950 ramp
primary
#7F4FD9
secondary
#CADDA6
accent
#E740AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84