#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
RGBrgb(120, 73, 226)
HSLhsl(258, 73%, 59%)
HSVhsv(258, 68%, 89%)
CMYKcmyk(46.9%, 67.7%, 0%, 11.4%)
CIE-LABlab(44.59, 54.23, -70.93)
CIE-LCHlch(44.59, 89.28, 307.40°)
OKLaboklab(54.6% 0.0804 -0.2032)
OKLCHoklch(54.6% 0.219 291.6)
XYZxyz(23.8519, 14.2483, 73.4302)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7849E21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.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

Preview Lab

Preview with #7849E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7849E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva