#7F4FD3#7F4FD3
#7F4FD3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.194 H 296.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FD3 |
|---|---|
| RGB | rgb(127, 79, 211) |
| HSL | hsl(262, 60%, 57%) |
| HSV | hsv(262, 63%, 83%) |
| CMYK | cmyk(39.8%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(45.37, 48.42, -61.07) |
| CIE-LCH | lch(45.37, 77.93, 308.41°) |
| OKLab | oklab(54.99% 0.0855 -0.174) |
| OKLCH | oklch(54.99% 0.194 296.2) |
| XYZ | xyz(23.3032, 14.8067, 63.2456) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 5.04
Bluish Purple
#703BE7
ΔE00 5.53
Iris
#6258C4
ΔE00 6.32
Blueviolet
#8A2BE2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FD3 #A3D34F
analogous
#4F61D3 #7F4FD3 #C14FD3
triadic
#7F4FD3 #D37F4F #4FD37F
tetradic
#7F4FD3 #D34F61 #A3D34F #4FD3C1
square
#7F4FD3 #D34F61 #A3D34F #4FD3C1
split-complementary
#7F4FD3 #D3C14F #61D34F
monochromatic
#462286 #602EB7 #7F4FD3 #A380DF #C6B1EB
Accessibility & contrast
On white
5.30
#7F4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7F4FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FD3
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FD3 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#6A6D8A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4fd3; /* rgb */ color: rgb(127, 79, 211); /* oklch */ color: oklch(55.0% 0.194 296.2);
Tailwind
colors: {
custom: {
50: '#aa83e1',
500: '#7f4fd3',
950: '#000000',
},
}SCSS
$custom: #7f4fd3; $custom-light: #aa83e1; $custom-dark: #000000;
JSON
{
"hex": "#7f4fd3",
"rgb": {
"r": 127,
"g": 79,
"b": 211
},
"hsl": {
"h": 261.818,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.54986,
"c": 0.19387,
"h": 296.2
},
"luminance": 0.14807
}Semantic roles & 50–950 ramp
primary
#7F4FD3
secondary
#C6DAA4
accent
#E345AA
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83