#7F4CD9#7F4CD9
#7F4CD9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.205 H 295.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CD9 |
|---|---|
| RGB | rgb(127, 76, 217) |
| HSL | hsl(262, 65%, 57%) |
| HSV | hsv(262, 65%, 85%) |
| CMYK | cmyk(41.5%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(45.21, 51.58, -64.76) |
| CIE-LCH | lch(45.21, 82.79, 308.54°) |
| OKLab | oklab(55% 0.0882 -0.1849) |
| OKLCH | oklch(55% 0.205 295.5) |
| XYZ | xyz(23.8579, 14.6901, 67.2107) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.51
Bluish Purple
#703BE7
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.63
Purpleish Blue
#6140EF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CD9 #A6D94C
analogous
#4C60D9 #7F4CD9 #C54CD9
triadic
#7F4CD9 #D97F4C #4CD97F
tetradic
#7F4CD9 #D94C60 #A6D94C #4CD9C5
square
#7F4CD9 #D94C60 #A6D94C #4CD9C5
split-complementary
#7F4CD9 #D9C54C #60D94C
monochromatic
#461E8D #5F29BF #7F4CD9 #A37EE4 #C7B1EE
Accessibility & contrast
On white
5.33
#7F4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7F4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CD9
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CD9 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#676D8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4cd9; /* rgb */ color: rgb(127, 76, 217); /* oklch */ color: oklch(55.0% 0.205 295.5);
Tailwind
colors: {
custom: {
50: '#aa81e6',
500: '#7f4cd9',
950: '#000000',
},
}SCSS
$custom: #7f4cd9; $custom-light: #aa81e6; $custom-dark: #000000;
JSON
{
"hex": "#7f4cd9",
"rgb": {
"r": 127,
"g": 76,
"b": 217
},
"hsl": {
"h": 261.702,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.55004,
"c": 0.20482,
"h": 295.5
},
"luminance": 0.14691
}Semantic roles & 50–950 ramp
primary
#7F4CD9
secondary
#C8DDA4
accent
#E840AB
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84