#7F4DD0#7F4DD0
#7F4DD0 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.193 H 297.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4DD0 |
|---|---|
| RGB | rgb(127, 77, 208) |
| HSL | hsl(263, 58%, 56%) |
| HSV | hsv(263, 63%, 82%) |
| CMYK | cmyk(38.9%, 63%, 0%, 18.4%) |
| CIE-LAB | lab(44.76, 48.71, -60.32) |
| CIE-LCH | lch(44.76, 77.53, 308.92°) |
| OKLab | oklab(54.48% 0.0879 -0.1718) |
| OKLCH | oklch(54.48% 0.193 297.1) |
| XYZ | xyz(22.7885, 14.3735, 61.2360) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.96
Bluish Purple
#703BE7
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.39
Blueviolet
#8A2BE2
ΔE00 6.01
Bluey Purple
#6241C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4DD0 #9ED04D
analogous
#4D5CD0 #7F4DD0 #C04DD0
triadic
#7F4DD0 #D07F4D #4DD07F
tetradic
#7F4DD0 #D04D5C #9ED04D #4DD0C0
square
#7F4DD0 #D04D5C #9ED04D #4DD0C0
split-complementary
#7F4DD0 #D0C04D #5CD04D
monochromatic
#462281 #602FB1 #7F4DD0 #A27DDD #C5AEEA
Accessibility & contrast
On white
5.42
#7F4DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7F4DD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4DD0
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4DD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4DD0 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#6B6A87
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f4dd0; /* rgb */ color: rgb(127, 77, 208); /* oklch */ color: oklch(54.5% 0.193 297.1);
Tailwind
colors: {
custom: {
50: '#aa81df',
500: '#7f4dd0',
950: '#000000',
},
}SCSS
$custom: #7f4dd0; $custom-light: #aa81df; $custom-dark: #000000;
JSON
{
"hex": "#7f4dd0",
"rgb": {
"r": 127,
"g": 77,
"b": 208
},
"hsl": {
"h": 262.901,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.54482,
"c": 0.19301,
"h": 297.1
},
"luminance": 0.14374
}Semantic roles & 50–950 ramp
primary
#7F4DD0
secondary
#C3D8A1
accent
#E146A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83