#7F4FDA#7F4FDA
#7F4FDA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.202 H 294.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FDA |
|---|---|
| RGB | rgb(127, 79, 218) |
| HSL | hsl(261, 65%, 58%) |
| HSV | hsv(261, 64%, 85%) |
| CMYK | cmyk(41.7%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.86, 50.27, -64.27) |
| CIE-LCH | lch(45.86, 81.59, 308.03°) |
| OKLab | oklab(55.5% 0.0849 -0.1834) |
| OKLCH | oklch(55.5% 0.202 294.8) |
| XYZ | xyz(24.1999, 15.1654, 67.9683) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.86
Light Indigo
#6D5ACF
ΔE00 4.58
Slate Blue
#6A5ACD
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.20
Purpleish Blue
#6140EF
ΔE00 6.11
Blueviolet
#8A2BE2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FDA #AADA4F
analogous
#4F65DA #7F4FDA #C44FDA
triadic
#7F4FDA #DA7F4F #4FDA7F
tetradic
#7F4FDA #DA4F65 #AADA4F #4FDAC4
square
#7F4FDA #DA4F65 #AADA4F #4FDAC4
split-complementary
#7F4FDA #DAC44F #65DA4F
monochromatic
#461E90 #5E29C3 #7F4FDA #A482E5 #C9B4EF
Accessibility & contrast
On white
5.21
#7F4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7F4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FDA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FDA | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#676F8D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f4fda; /* rgb */ color: rgb(127, 79, 218); /* oklch */ color: oklch(55.5% 0.202 294.8);
Tailwind
colors: {
custom: {
50: '#aa83e6',
500: '#7f4fda',
950: '#000000',
},
}SCSS
$custom: #7f4fda; $custom-light: #aa83e6; $custom-dark: #000000;
JSON
{
"hex": "#7f4fda",
"rgb": {
"r": 127,
"g": 79,
"b": 218
},
"hsl": {
"h": 260.719,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55498,
"c": 0.20213,
"h": 294.8
},
"luminance": 0.15166
}Semantic roles & 50–950 ramp
primary
#7F4FDA
secondary
#CBDEA7
accent
#E840AE
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84