#7F4FD6#7F4FD6
#7F4FD6 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.197 H 295.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FD6 |
|---|---|
| RGB | rgb(127, 79, 214) |
| HSL | hsl(261, 62%, 57%) |
| HSV | hsv(261, 63%, 84%) |
| CMYK | cmyk(40.7%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(45.58, 49.21, -62.45) |
| CIE-LCH | lch(45.58, 79.51, 308.24°) |
| OKLab | oklab(55.2% 0.0852 -0.1781) |
| OKLCH | oklch(55.2% 0.197 295.6) |
| XYZ | xyz(23.6828, 14.9585, 65.2448) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.21
Light Indigo
#6D5ACF
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 5.04
Bluish Purple
#703BE7
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 6.33
Purpleish Blue
#6140EF
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FD6 #A6D64F
analogous
#4F63D6 #7F4FD6 #C24FD6
triadic
#7F4FD6 #D67F4F #4FD67F
tetradic
#7F4FD6 #D64F63 #A6D64F #4FD6C2
square
#7F4FD6 #D64F63 #A6D64F #4FD6C2
split-complementary
#7F4FD6 #D6C24F #63D64F
monochromatic
#46208A #5F2CBC #7F4FD6 #A381E2 #C7B2ED
Accessibility & contrast
On white
5.26
#7F4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7F4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FD6
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FD6 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#696E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f4fd6; /* rgb */ color: rgb(127, 79, 214); /* oklch */ color: oklch(55.2% 0.197 295.6);
Tailwind
colors: {
custom: {
50: '#aa83e3',
500: '#7f4fd6',
950: '#000000',
},
}SCSS
$custom: #7f4fd6; $custom-light: #aa83e3; $custom-dark: #000000;
JSON
{
"hex": "#7f4fd6",
"rgb": {
"r": 127,
"g": 79,
"b": 214
},
"hsl": {
"h": 261.333,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.55204,
"c": 0.19741,
"h": 295.6
},
"luminance": 0.14959
}Semantic roles & 50–950 ramp
primary
#7F4FD6
secondary
#C8DCA5
accent
#E543AB
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84