#7849DD#7849DD

#7849DD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.213 H 292.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7849DD
RGBrgb(120, 73, 221)
HSLhsl(259, 69%, 58%)
HSVhsv(259, 67%, 87%)
CMYKcmyk(45.7%, 67%, 0%, 13.3%)
CIE-LABlab(44.20, 52.88, -68.71)
CIE-LCHlch(44.20, 86.70, 307.58°)
OKLaboklab(54.2% 0.0811 -0.1967)
OKLCHoklch(54.2% 0.213 292.4)
XYZxyz(23.1758, 13.9779, 69.8695)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849DD #AEDD49
analogous
#4964DD #7849DD #C249DD
triadic
#7849DD #DD7849 #49DD78
tetradic
#7849DD #DD4964 #AEDD49 #49DDC2
square
#7849DD #DD4964 #AEDD49 #49DDC2
split-complementary
#7849DD #DDC249 #64DD49
monochromatic
#401B91 #5725C4 #7849DD #9E7DE7 #C4B0F0

Accessibility & contrast

On white

5.53
#7849DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7849DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849DD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849DD#FFFFFF#000000##FFFFFF
##7849DD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#5A6D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7849dd;
/* rgb */ color: rgb(120, 73, 221);
/* oklch */ color: oklch(54.2% 0.213 292.4);
Tailwind
colors: {
  custom: {
    50: '#a77fe9',
    500: '#7849dd',
    950: '#000000',
  },
}
SCSS
$custom: #7849dd;
$custom-light: #a77fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7849dd",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 259.054,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.21279,
    "h": 292.4
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#7849DD
secondary
#CCDFA3
accent
#EB3CB4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849DD

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

Preview Lab → · Contrast checker → · Palette generator →

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