#7F4CDA#7F4CDA
#7F4CDA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.206 H 295.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CDA |
|---|---|
| RGB | rgb(127, 76, 218) |
| HSL | hsl(262, 66%, 58%) |
| HSV | hsv(262, 65%, 85%) |
| CMYK | cmyk(41.7%, 65.1%, 0%, 14.5%) |
| CIE-LAB | lab(45.28, 51.84, -65.21) |
| CIE-LCH | lch(45.28, 83.31, 308.48°) |
| OKLab | oklab(55.08% 0.088 -0.1862) |
| OKLCH | oklch(55.08% 0.206 295.3) |
| XYZ | xyz(23.9884, 14.7423, 67.8977) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.44
Bluish Purple
#703BE7
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.53
Blueviolet
#8A2BE2
ΔE00 5.63
Purpleish Blue
#6140EF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CDA #A7DA4C
analogous
#4C60DA #7F4CDA #C64CDA
triadic
#7F4CDA #DA7F4C #4CDA7F
tetradic
#7F4CDA #DA4C60 #A7DA4C #4CDAC6
square
#7F4CDA #DA4C60 #A7DA4C #4CDAC6
split-complementary
#7F4CDA #DAC64C #60DA4C
monochromatic
#461D8E #5F28C1 #7F4CDA #A37FE4 #C8B1EF
Accessibility & contrast
On white
5.32
#7F4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7F4CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CDA
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CDA | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#676D8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4cda; /* rgb */ color: rgb(127, 76, 218); /* oklch */ color: oklch(55.1% 0.206 295.3);
Tailwind
colors: {
custom: {
50: '#ab81e6',
500: '#7f4cda',
950: '#000000',
},
}SCSS
$custom: #7f4cda; $custom-light: #ab81e6; $custom-dark: #000000;
JSON
{
"hex": "#7f4cda",
"rgb": {
"r": 127,
"g": 76,
"b": 218
},
"hsl": {
"h": 261.549,
"s": 65.741,
"l": 57.647
},
"oklch": {
"l": 0.55079,
"c": 0.20597,
"h": 295.3
},
"luminance": 0.14743
}Semantic roles & 50–950 ramp
primary
#7F4CDA
secondary
#C9DDA4
accent
#E93FAC
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84