#7F4FD2#7F4FD2
#7F4FD2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.193 H 296.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FD2 |
|---|---|
| RGB | rgb(127, 79, 210) |
| HSL | hsl(262, 59%, 57%) |
| HSV | hsv(262, 62%, 82%) |
| CMYK | cmyk(39.5%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(45.30, 48.16, -60.60) |
| CIE-LCH | lch(45.30, 77.41, 308.47°) |
| OKLab | oklab(54.91% 0.0855 -0.1727) |
| OKLCH | oklch(54.91% 0.193 296.4) |
| XYZ | xyz(23.1782, 14.7567, 62.5874) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.59
Iris
#6258C4
ΔE00 6.30
Bluey Purple
#6241C7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FD2 #A2D24F
analogous
#4F61D2 #7F4FD2 #C14FD2
triadic
#7F4FD2 #D27F4F #4FD27F
tetradic
#7F4FD2 #D24F61 #A2D24F #4FD2C1
square
#7F4FD2 #D24F61 #A2D24F #4FD2C1
split-complementary
#7F4FD2 #D2C14F #61D24F
monochromatic
#462285 #602EB5 #7F4FD2 #A280DE #C6B0EB
Accessibility & contrast
On white
5.31
#7F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7F4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FD2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FD2 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#6A6C89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4fd2; /* rgb */ color: rgb(127, 79, 210); /* oklch */ color: oklch(54.9% 0.193 296.4);
Tailwind
colors: {
custom: {
50: '#aa83e1',
500: '#7f4fd2',
950: '#000000',
},
}SCSS
$custom: #7f4fd2; $custom-light: #aa83e1; $custom-dark: #000000;
JSON
{
"hex": "#7f4fd2",
"rgb": {
"r": 127,
"g": 79,
"b": 210
},
"hsl": {
"h": 261.985,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.54914,
"c": 0.19268,
"h": 296.4
},
"luminance": 0.14757
}Semantic roles & 50–950 ramp
primary
#7F4FD2
secondary
#C6D9A4
accent
#E245A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83