#7849D1#7849D1

#7849D1 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.199 H 294.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7849D1
RGBrgb(120, 73, 209)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 65%, 82%)
CMYKcmyk(42.6%, 65.1%, 0%, 18%)
CIE-LABlab(43.30, 49.67, -63.30)
CIE-LCHlch(43.30, 80.46, 308.12°)
OKLaboklab(53.28% 0.0827 -0.1808)
OKLCHoklch(53.28% 0.199 294.6)
XYZxyz(21.6338, 13.3611, 61.7484)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849D1 #A2D149
analogous
#495ED1 #7849D1 #BC49D1
triadic
#7849D1 #D17849 #49D178
tetradic
#7849D1 #D1495E #A2D149 #49D1BC
square
#7849D1 #D1495E #A2D149 #49D1BC
split-complementary
#7849D1 #D1BC49 #5ED149
monochromatic
#41207F #5A2DB0 #7849D1 #9C7ADD #C0ABEA

Accessibility & contrast

On white

5.72
#7849D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7849D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849D1#FFFFFF#000000##FFFFFF
##7849D11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#606987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7849d1;
/* rgb */ color: rgb(120, 73, 209);
/* oklch */ color: oklch(53.3% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#a57ee0',
    500: '#7849d1',
    950: '#000000',
  },
}
SCSS
$custom: #7849d1;
$custom-light: #a57ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7849d1",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 260.735,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.19882,
    "h": 294.6
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#7849D1
secondary
#C4D79E
accent
#E345AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849D1

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

Preview Lab → · Contrast checker → · Palette generator →

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