#7F44BA#7F44BA
#7F44BA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.180 H 303.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F44BA |
|---|---|
| RGB | rgb(127, 68, 186) |
| HSL | hsl(270, 46%, 50%) |
| HSV | hsv(270, 63%, 73%) |
| CMYK | cmyk(31.7%, 63.4%, 0%, 27.1%) |
| CIE-LAB | lab(41.52, 47.88, -52.79) |
| CIE-LCH | lch(41.52, 71.27, 312.20°) |
| OKLab | oklab(51.66% 0.0999 -0.1497) |
| OKLCH | oklch(51.66% 0.18 303.7) |
| XYZ | xyz(19.6804, 12.1915, 47.7612) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.61
Darkorchid
#9932CC
ΔE00 5.23
Purply
#983FB2
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.32
Bluish Purple
#703BE7
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F44BA #7FBA44
analogous
#4444BA #7F44BA #BA44BA
triadic
#7F44BA #BA7F44 #44BA7F
tetradic
#7F44BA #BA4444 #7FBA44 #44BABA
square
#7F44BA #BA4444 #7FBA44 #44BABA
split-complementary
#7F44BA #BABA44 #44BA44
monochromatic
#422360 #60348D #7F44BA #9E70CB #BC9DDB
Accessibility & contrast
On white
6.11
#7F44BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7F44BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F44BA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F44BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F44BA | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#745D79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f44ba; /* rgb */ color: rgb(127, 68, 186); /* oklch */ color: oklch(51.7% 0.180 303.7);
Tailwind
colors: {
custom: {
50: '#a87bcf',
500: '#7f44ba',
950: '#000000',
},
}SCSS
$custom: #7f44ba; $custom-light: #a87bcf; $custom-dark: #000000;
JSON
{
"hex": "#7f44ba",
"rgb": {
"r": 127,
"g": 68,
"b": 186
},
"hsl": {
"h": 270,
"s": 46.457,
"l": 49.804
},
"oklch": {
"l": 0.51657,
"c": 0.17993,
"h": 303.7
},
"luminance": 0.12191
}Semantic roles & 50–950 ramp
primary
#7F44BA
secondary
#ADC892
accent
#D65294
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82