#7848CF#7848CF
#7848CF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.198 H 295.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7848CF |
|---|---|
| RGB | rgb(120, 72, 207) |
| HSL | hsl(261, 58%, 55%) |
| HSV | hsv(261, 65%, 81%) |
| CMYK | cmyk(42%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(42.96, 49.67, -62.70) |
| CIE-LCH | lch(42.96, 79.99, 308.38°) |
| OKLab | oklab(52.99% 0.084 -0.179) |
| OKLCH | oklch(52.99% 0.198 295.1) |
| XYZ | xyz(21.3226, 13.1323, 60.4307) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 5.34
Blueviolet
#8A2BE2
ΔE00 5.40
Purpleish Blue
#6140EF
ΔE00 5.44
Burple
#6832E3
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7848CF #9FCF48
analogous
#485CCF #7848CF #BB48CF
triadic
#7848CF #CF7848 #48CF78
tetradic
#7848CF #CF485C #9FCF48 #48CFBB
square
#7848CF #CF485C #9FCF48 #48CFBB
split-complementary
#7848CF #CFBB48 #5CCF48
monochromatic
#41217C #5B2DAD #7848CF #9C78DC #C0A9E8
Accessibility & contrast
On white
5.79
#7848CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7848CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7848CF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7848CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7848CF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#616885
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7848cf; /* rgb */ color: rgb(120, 72, 207); /* oklch */ color: oklch(53.0% 0.198 295.1);
Tailwind
colors: {
custom: {
50: '#a57edf',
500: '#7848cf',
950: '#000000',
},
}SCSS
$custom: #7848cf; $custom-light: #a57edf; $custom-dark: #000000;
JSON
{
"hex": "#7848cf",
"rgb": {
"r": 120,
"g": 72,
"b": 207
},
"hsl": {
"h": 261.333,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.52985,
"c": 0.19775,
"h": 295.1
},
"luminance": 0.13133
}Semantic roles & 50–950 ramp
primary
#7848CF
secondary
#C2D69D
accent
#E246AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83