#7849E2#7849E2
#7849E2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.219 H 291.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7849E2 |
|---|---|
| RGB | rgb(120, 73, 226) |
| HSL | hsl(258, 73%, 59%) |
| HSV | hsv(258, 68%, 89%) |
| CMYK | cmyk(46.9%, 67.7%, 0%, 11.4%) |
| CIE-LAB | lab(44.59, 54.23, -70.93) |
| CIE-LCH | lch(44.59, 89.28, 307.40°) |
| OKLab | oklab(54.6% 0.0804 -0.2032) |
| OKLCH | oklch(54.6% 0.219 291.6) |
| XYZ | xyz(23.8519, 14.2483, 73.4302) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.23
Purpleish Blue
#6140EF
ΔE00 4.03
Purpley
#8756E4
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 5.26
Burple
#6832E3
ΔE00 5.43
Blueviolet
#8A2BE2
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7849E2 #B3E249
analogous
#4966E2 #7849E2 #C449E2
triadic
#7849E2 #E27849 #49E278
tetradic
#7849E2 #E24966 #B3E249 #49E2C4
square
#7849E2 #E24966 #B3E249 #49E2C4
split-complementary
#7849E2 #E2C449 #66E249
monochromatic
#401898 #5621CD #7849E2 #9F7EEA #C6B3F3
Accessibility & contrast
On white
5.45
#7849E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7849E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7849E2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7849E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7849E2 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#576F90
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7849e2; /* rgb */ color: rgb(120, 73, 226); /* oklch */ color: oklch(54.6% 0.219 291.6);
Tailwind
colors: {
custom: {
50: '#a77fec',
500: '#7849e2',
950: '#000000',
},
}SCSS
$custom: #7849e2; $custom-light: #a77fec; $custom-dark: #000000;
JSON
{
"hex": "#7849e2",
"rgb": {
"r": 120,
"g": 73,
"b": 226
},
"hsl": {
"h": 258.431,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.54601,
"c": 0.21855,
"h": 291.6
},
"luminance": 0.14249
}Semantic roles & 50–950 ramp
primary
#7849E2
secondary
#CFE2A5
accent
#EF39B7
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84