#7849D8#7849D8

#7849D8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.207 H 293.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7849D8
RGBrgb(120, 73, 216)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(44.4%, 66.2%, 0%, 15.3%)
CIE-LABlab(43.82, 51.54, -66.47)
CIE-LCHlch(43.82, 84.11, 307.79°)
OKLaboklab(53.81% 0.0818 -0.1901)
OKLCHoklch(53.81% 0.207 293.3)
XYZxyz(22.5196, 13.7154, 66.4132)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849D8 #A9D849
analogous
#4962D8 #7849D8 #BF49D8
triadic
#7849D8 #D87849 #49D878
tetradic
#7849D8 #D84962 #A9D849 #49D8BF
square
#7849D8 #D84962 #A9D849 #49D8BF
split-complementary
#7849D8 #D8BF49 #62D849
monochromatic
#411D89 #5928BC #7849D8 #9D7BE3 #C3AEEE

Accessibility & contrast

On white

5.61
#7849D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7849D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849D8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849D8#FFFFFF#000000##FFFFFF
##7849D81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#5C6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7849d8;
/* rgb */ color: rgb(120, 73, 216);
/* oklch */ color: oklch(53.8% 0.207 293.3);
Tailwind
colors: {
  custom: {
    50: '#a67fe5',
    500: '#7849d8',
    950: '#000000',
  },
}
SCSS
$custom: #7849d8;
$custom-light: #a67fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7849d8",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 259.72,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.20699,
    "h": 293.3
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#7849D8
secondary
#C8DCA1
accent
#E840B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849D8

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

Preview Lab → · Contrast checker → · Palette generator →

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