#7849DC#7849DC

#7849DC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.212 H 292.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7849DC
RGBrgb(120, 73, 220)
HSLhsl(259, 68%, 57%)
HSVhsv(259, 67%, 86%)
CMYKcmyk(45.5%, 66.8%, 0%, 13.7%)
CIE-LABlab(44.12, 52.61, -68.27)
CIE-LCHlch(44.12, 86.19, 307.62°)
OKLaboklab(54.13% 0.0813 -0.1954)
OKLCHoklch(54.13% 0.212 292.6)
XYZxyz(23.0430, 13.9247, 69.1699)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849DC #ADDC49
analogous
#4963DC #7849DC #C249DC
triadic
#7849DC #DC7849 #49DC78
tetradic
#7849DC #DC4963 #ADDC49 #49DCC2
square
#7849DC #DC4963 #ADDC49 #49DCC2
split-complementary
#7849DC #DCC249 #63DC49
monochromatic
#401C8F #5825C2 #7849DC #9E7CE6 #C4B0F0

Accessibility & contrast

On white

5.55
#7849DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7849DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849DC#FFFFFF#000000##FFFFFF
##7849DC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#5A6D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7849dc;
/* rgb */ color: rgb(120, 73, 220);
/* oklch */ color: oklch(54.1% 0.212 292.6);
Tailwind
colors: {
  custom: {
    50: '#a77fe8',
    500: '#7849dc',
    950: '#000000',
  },
}
SCSS
$custom: #7849dc;
$custom-light: #a77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7849dc",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 259.184,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54126,
    "c": 0.21163,
    "h": 292.6
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#7849DC
secondary
#CBDEA3
accent
#EB3DB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849DC

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

Preview Lab → · Contrast checker → · Palette generator →

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