#7F4CDF#7F4CDF
#7F4CDF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.212 H 294.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CDF |
|---|---|
| RGB | rgb(127, 76, 223) |
| HSL | hsl(261, 70%, 59%) |
| HSV | hsv(261, 66%, 87%) |
| CMYK | cmyk(43%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(45.65, 53.16, -67.47) |
| CIE-LCH | lch(45.65, 85.89, 308.23°) |
| OKLab | oklab(55.46% 0.0874 -0.1928) |
| OKLCH | oklch(55.46% 0.212 294.4) |
| XYZ | xyz(24.6525, 15.0080, 71.3957) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.13
Bluish Purple
#703BE7
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 5.16
Purpleish Blue
#6140EF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CDF #ACDF4C
analogous
#4C62DF #7F4CDF #C84CDF
triadic
#7F4CDF #DF7F4C #4CDF7F
tetradic
#7F4CDF #DF4C62 #ACDF4C #4CDFC8
square
#7F4CDF #DF4C62 #ACDF4C #4CDFC8
split-complementary
#7F4CDF #DFC84C #62DF4C
monochromatic
#451B96 #5E24CA #7F4CDF #A480E8 #C9B4F2
Accessibility & contrast
On white
5.25
#7F4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7F4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CDF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CDF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#656F8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f4cdf; /* rgb */ color: rgb(127, 76, 223); /* oklch */ color: oklch(55.5% 0.212 294.4);
Tailwind
colors: {
custom: {
50: '#ab81ea',
500: '#7f4cdf',
950: '#000000',
},
}SCSS
$custom: #7f4cdf; $custom-light: #ab81ea; $custom-dark: #000000;
JSON
{
"hex": "#7f4cdf",
"rgb": {
"r": 127,
"g": 76,
"b": 223
},
"hsl": {
"h": 260.816,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.55457,
"c": 0.21173,
"h": 294.4
},
"luminance": 0.15009
}Semantic roles & 50–950 ramp
primary
#7F4CDF
secondary
#CCE0A6
accent
#EC3BAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84