#7847CF#7847CF
#7847CF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.199 H 295.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7847CF |
|---|---|
| RGB | rgb(120, 71, 207) |
| HSL | hsl(262, 59%, 55%) |
| HSV | hsv(262, 66%, 81%) |
| CMYK | cmyk(42%, 65.7%, 0%, 18.8%) |
| CIE-LAB | lab(42.77, 50.19, -63.01) |
| CIE-LCH | lch(42.77, 80.56, 308.54°) |
| OKLab | oklab(52.85% 0.085 -0.18) |
| OKLCH | oklch(52.85% 0.199 295.3) |
| XYZ | xyz(21.2585, 13.0040, 60.4094) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.17
Blueviolet
#8A2BE2
ΔE00 5.22
Burple
#6832E3
ΔE00 5.36
Purpleish Blue
#6140EF
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7847CF #9ECF47
analogous
#475ACF #7847CF #BC47CF
triadic
#7847CF #CF7847 #47CF78
tetradic
#7847CF #CF475A #9ECF47 #47CFBC
square
#7847CF #CF475A #9ECF47 #47CFBC
split-complementary
#7847CF #CFBC47 #5ACF47
monochromatic
#41207B #5B2DAC #7847CF #9C78DC #BFA8E8
Accessibility & contrast
On white
5.83
#7847CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7847CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7847CF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7847CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7847CF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#616785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7847cf; /* rgb */ color: rgb(120, 71, 207); /* oklch */ color: oklch(52.8% 0.199 295.3);
Tailwind
colors: {
custom: {
50: '#a57ddf',
500: '#7847cf',
950: '#000000',
},
}SCSS
$custom: #7847cf; $custom-light: #a57ddf; $custom-dark: #000000;
JSON
{
"hex": "#7847cf",
"rgb": {
"r": 120,
"g": 71,
"b": 207
},
"hsl": {
"h": 261.618,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.52846,
"c": 0.19903,
"h": 295.3
},
"luminance": 0.13005
}Semantic roles & 50–950 ramp
primary
#7847CF
secondary
#C1D69C
accent
#E246AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83