#7849DB#7849DB

#7849DB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.210 H 292.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7849DB
RGBrgb(120, 73, 219)
HSLhsl(259, 67%, 57%)
HSVhsv(259, 67%, 86%)
CMYKcmyk(45.2%, 66.7%, 0%, 14.1%)
CIE-LABlab(44.05, 52.34, -67.82)
CIE-LCHlch(44.05, 85.67, 307.66°)
OKLaboklab(54.05% 0.0814 -0.1941)
OKLCHoklch(54.05% 0.21 292.8)
XYZxyz(22.9109, 13.8719, 68.4745)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849DB #ACDB49
analogous
#4963DB #7849DB #C149DB
triadic
#7849DB #DB7849 #49DB78
tetradic
#7849DB #DB4963 #ACDB49 #49DBC1
square
#7849DB #DB4963 #ACDB49 #49DBC1
split-complementary
#7849DB #DBC149 #63DB49
monochromatic
#411C8E #5826C1 #7849DB #9E7CE5 #C4AFEF

Accessibility & contrast

On white

5.56
#7849DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7849DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849DB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849DB#FFFFFF#000000##FFFFFF
##7849DB1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#5B6D8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7849db;
/* rgb */ color: rgb(120, 73, 219);
/* oklch */ color: oklch(54.0% 0.210 292.8);
Tailwind
colors: {
  custom: {
    50: '#a77fe7',
    500: '#7849db',
    950: '#000000',
  },
}
SCSS
$custom: #7849db;
$custom-light: #a77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7849db",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 259.315,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.21048,
    "h": 292.8
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#7849DB
secondary
#CADDA2
accent
#EA3EB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849DB

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

Preview Lab → · Contrast checker → · Palette generator →

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