#7F4FD8#7F4FD8
#7F4FD8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.200 H 295.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FD8 |
|---|---|
| RGB | rgb(127, 79, 216) |
| HSL | hsl(261, 64%, 58%) |
| HSV | hsv(261, 63%, 85%) |
| CMYK | cmyk(41.2%, 63.4%, 0%, 15.3%) |
| CIE-LAB | lab(45.72, 49.74, -63.36) |
| CIE-LCH | lch(45.72, 80.55, 308.13°) |
| OKLab | oklab(55.35% 0.0851 -0.1808) |
| OKLCH | oklch(55.35% 0.2 295.2) |
| XYZ | xyz(23.9398, 15.0613, 66.5982) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.03
Light Indigo
#6D5ACF
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 5.06
Bluish Purple
#703BE7
ΔE00 5.27
Purpleish Blue
#6140EF
ΔE00 6.23
Blueviolet
#8A2BE2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FD8 #A8D84F
analogous
#4F63D8 #7F4FD8 #C44FD8
triadic
#7F4FD8 #D87F4F #4FD87F
tetradic
#7F4FD8 #D84F63 #A8D84F #4FD8C4
square
#7F4FD8 #D84F63 #A8D84F #4FD8C4
split-complementary
#7F4FD8 #D8C44F #63D84F
monochromatic
#461F8D #5F2ABF #7F4FD8 #A381E3 #C8B3EE
Accessibility & contrast
On white
5.23
#7F4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7F4FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FD8
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FD8 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#686F8C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f4fd8; /* rgb */ color: rgb(127, 79, 216); /* oklch */ color: oklch(55.4% 0.200 295.2);
Tailwind
colors: {
custom: {
50: '#aa83e5',
500: '#7f4fd8',
950: '#000000',
},
}SCSS
$custom: #7f4fd8; $custom-light: #aa83e5; $custom-dark: #000000;
JSON
{
"hex": "#7f4fd8",
"rgb": {
"r": 127,
"g": 79,
"b": 216
},
"hsl": {
"h": 261.022,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.5535,
"c": 0.19978,
"h": 295.2
},
"luminance": 0.15062
}Semantic roles & 50–950 ramp
primary
#7F4FD8
secondary
#CADDA6
accent
#E741AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84