#7F44C5#7F44C5
#7F44C5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.192 H 301.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F44C5 |
|---|---|
| RGB | rgb(127, 68, 197) |
| HSL | hsl(267, 53%, 52%) |
| HSV | hsv(267, 65%, 77%) |
| CMYK | cmyk(35.5%, 65.5%, 0%, 22.7%) |
| CIE-LAB | lab(42.27, 50.59, -57.99) |
| CIE-LCH | lch(42.27, 76.96, 311.10°) |
| OKLab | oklab(52.44% 0.0989 -0.165) |
| OKLCH | oklch(52.44% 0.192 301) |
| XYZ | xyz(20.8951, 12.6774, 54.1586) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.98
Blueviolet
#8A2BE2
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.26
Bluish Purple
#703BE7
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.74
Burple
#6832E3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F44C5 #8AC544
analogous
#444AC5 #7F44C5 #C044C5
triadic
#7F44C5 #C57F44 #44C57F
tetradic
#7F44C5 #C5444A #8AC544 #44C5C0
square
#7F44C5 #C5444A #8AC544 #44C5C0
split-complementary
#7F44C5 #C5C044 #4AC544
monochromatic
#44226D #61309C #7F44C5 #9F73D3 #BFA1E2
Accessibility & contrast
On white
5.94
#7F44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7F44C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F44C5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F44C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F44C5 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#70617F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f44c5; /* rgb */ color: rgb(127, 68, 197); /* oklch */ color: oklch(52.4% 0.192 301.0);
Tailwind
colors: {
custom: {
50: '#a97cd7',
500: '#7f44c5',
950: '#000000',
},
}SCSS
$custom: #7f44c5; $custom-light: #a97cd7; $custom-dark: #000000;
JSON
{
"hex": "#7f44c5",
"rgb": {
"r": 127,
"g": 68,
"b": 197
},
"hsl": {
"h": 267.442,
"s": 52.653,
"l": 51.961
},
"oklch": {
"l": 0.5244,
"c": 0.19236,
"h": 301
},
"luminance": 0.12677
}Semantic roles & 50–950 ramp
primary
#7F44C5
secondary
#B5CF96
accent
#DC4C9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83