#7844C5#7844C5
#7844C5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.191 H 297.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7844C5 |
|---|---|
| RGB | rgb(120, 68, 197) |
| HSL | hsl(264, 53%, 52%) |
| HSV | hsv(264, 65%, 77%) |
| CMYK | cmyk(39.1%, 65.5%, 0%, 22.7%) |
| CIE-LAB | lab(41.47, 49.14, -59.34) |
| CIE-LCH | lch(41.47, 77.04, 309.63°) |
| OKLab | oklab(51.68% 0.0894 -0.1691) |
| OKLCH | oklch(51.68% 0.191 297.8) |
| XYZ | xyz(19.8883, 12.1582, 54.1114) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.96
Bluish Purple
#703BE7
ΔE00 4.94
Blueviolet
#8A2BE2
ΔE00 5.42
Burple
#6832E3
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7844C5 #91C544
analogous
#4451C5 #7844C5 #B944C5
triadic
#7844C5 #C57844 #44C578
tetradic
#7844C5 #C54451 #91C544 #44C5B9
square
#7844C5 #C54451 #91C544 #44C5B9
split-complementary
#7844C5 #C5B944 #51C544
monochromatic
#40226D #5C309C #7844C5 #9A73D3 #BBA1E2
Accessibility & contrast
On white
6.12
#7844C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7844C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7844C5
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7844C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7844C5 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#66627F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7844c5; /* rgb */ color: rgb(120, 68, 197); /* oklch */ color: oklch(51.7% 0.191 297.8);
Tailwind
colors: {
custom: {
50: '#a57bd7',
500: '#7844c5',
950: '#000000',
},
}SCSS
$custom: #7844c5; $custom-light: #a57bd7; $custom-dark: #000000;
JSON
{
"hex": "#7844c5",
"rgb": {
"r": 120,
"g": 68,
"b": 197
},
"hsl": {
"h": 264.186,
"s": 52.653,
"l": 51.961
},
"oklch": {
"l": 0.51678,
"c": 0.19131,
"h": 297.8
},
"luminance": 0.12159
}Semantic roles & 50–950 ramp
primary
#7844C5
secondary
#B8CF96
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83