#7F4BC2#7F4BC2
#7F4BC2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.179 H 300.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4BC2 |
|---|---|
| RGB | rgb(127, 75, 194) |
| HSL | hsl(266, 49%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(34.5%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.42, 46.18, -54.40) |
| CIE-LCH | lch(43.42, 71.36, 310.33°) |
| OKLab | oklab(53.2% 0.0911 -0.1544) |
| OKLCH | oklch(53.2% 0.179 300.5) |
| XYZ | xyz(21.0037, 13.4391, 52.5159) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.60
Darkorchid
#9932CC
ΔE00 5.90
Bluey Purple
#6241C7
ΔE00 5.96
Light Indigo
#6D5ACF
ΔE00 6.12
Purpley
#8756E4
ΔE00 6.14
Slate Blue
#6A5ACD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4BC2 #8EC24B
analogous
#4B53C2 #7F4BC2 #BA4BC2
triadic
#7F4BC2 #C27F4B #4BC27F
tetradic
#7F4BC2 #C24B53 #8EC24B #4BC2BA
square
#7F4BC2 #C24B53 #8EC24B #4BC2BA
split-complementary
#7F4BC2 #C2BA4B #53C24B
monochromatic
#45256D #61359B #7F4BC2 #A079D1 #C0A6E1
Accessibility & contrast
On white
5.69
#7F4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7F4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4BC2
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4BC2 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#71647F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f4bc2; /* rgb */ color: rgb(127, 75, 194); /* oklch */ color: oklch(53.2% 0.179 300.5);
Tailwind
colors: {
custom: {
50: '#a880d5',
500: '#7f4bc2',
950: '#000000',
},
}SCSS
$custom: #7f4bc2; $custom-light: #a880d5; $custom-dark: #000000;
JSON
{
"hex": "#7f4bc2",
"rgb": {
"r": 127,
"g": 75,
"b": 194
},
"hsl": {
"h": 266.218,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.53204,
"c": 0.17929,
"h": 300.5
},
"luminance": 0.13439
}Semantic roles & 50–950 ramp
primary
#7F4BC2
secondary
#B8CE9B
accent
#D94F9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83