#9844DB#9844DB

#9844DB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.221 H 305.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9844DB
RGBrgb(152, 68, 219)
HSLhsl(273, 68%, 56%)
HSVhsv(273, 69%, 86%)
CMYKcmyk(30.6%, 68.9%, 0%, 14.1%)
CIE-LABlab(46.88, 60.88, -63.06)
CIE-LCHlch(46.88, 87.66, 313.99°)
OKLaboklab(56.89% 0.1298 -0.179)
OKLCHoklch(56.89% 0.221 305.9)
XYZxyz(27.7994, 15.9244, 68.6133)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844DB #87DB44
analogous
#4D44DB #9844DB #DB44D3
triadic
#9844DB #DB9844 #44DB98
tetradic
#9844DB #DB4D44 #87DB44 #44D3DB
square
#9844DB #DB4D44 #87DB44 #44D3DB
split-complementary
#9844DB #D3DB44 #44DB4D
monochromatic
#591B8A #7A24BD #9844DB #B477E5 #D1ABEF

Accessibility & contrast

On white

5.02
#9844DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9844DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844DB#FFFFFF#000000##FFFFFF
##9844DB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0C6FD8
Tritanopia (blue-blind)
#8C668B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9844db;
/* rgb */ color: rgb(152, 68, 219);
/* oklch */ color: oklch(56.9% 0.221 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb7ee7',
    500: '#9844db',
    950: '#000000',
  },
}
SCSS
$custom: #9844db;
$custom-light: #bb7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#9844db",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 219
  },
  "hsl": {
    "h": 273.377,
    "s": 67.713,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.22112,
    "h": 305.9
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#9844DB
secondary
#BADC9E
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9844DB

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

Preview Lab → · Contrast checker → · Palette generator →

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