#7849E4#7849E4

#7849E4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.221 H 291.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7849E4
RGBrgb(120, 73, 228)
HSLhsl(258, 74%, 59%)
HSVhsv(258, 68%, 89%)
CMYKcmyk(47.4%, 68%, 0%, 10.6%)
CIE-LABlab(44.74, 54.77, -71.81)
CIE-LCHlch(44.74, 90.31, 307.33°)
OKLaboklab(54.76% 0.0801 -0.2058)
OKLCHoklch(54.76% 0.221 291.3)
XYZxyz(24.1279, 14.3587, 74.8840)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849E4 #B5E449
analogous
#4968E4 #7849E4 #C649E4
triadic
#7849E4 #E47849 #49E478
tetradic
#7849E4 #E44968 #B5E449 #49E4C6
square
#7849E4 #E44968 #B5E449 #49E4C6
split-complementary
#7849E4 #E4C649 #68E449
monochromatic
#3F179C #551FD1 #7849E4 #A07EEC #C7B4F4

Accessibility & contrast

On white

5.42
#7849E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7849E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849E4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849E4#FFFFFF#000000##FFFFFF
##7849E41.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#567091
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7849e4;
/* rgb */ color: rgb(120, 73, 228);
/* oklch */ color: oklch(54.8% 0.221 291.3);
Tailwind
colors: {
  custom: {
    50: '#a87fee',
    500: '#7849e4',
    950: '#000000',
  },
}
SCSS
$custom: #7849e4;
$custom-light: #a87fee;
$custom-dark: #000000;
JSON
{
  "hex": "#7849e4",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 258.194,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.22085,
    "h": 291.3
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#7849E4
secondary
#D0E3A6
accent
#F137B8
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7849E4

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

Preview Lab → · Contrast checker → · Palette generator →

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