#9844DC#9844DC

#9844DC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.222 H 305.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9844DC
RGBrgb(152, 68, 220)
HSLhsl(273, 68%, 56%)
HSVhsv(273, 69%, 86%)
CMYKcmyk(30.9%, 69.1%, 0%, 13.7%)
CIE-LABlab(46.94, 61.11, -63.52)
CIE-LCHlch(46.94, 88.14, 313.89°)
OKLaboklab(56.97% 0.1297 -0.1804)
OKLCHoklch(56.97% 0.222 305.7)
XYZxyz(27.9314, 15.9772, 69.3087)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844DC #88DC44
analogous
#4C44DC #9844DC #DC44D4
triadic
#9844DC #DC9844 #44DC98
tetradic
#9844DC #DC4C44 #88DC44 #44D4DC
square
#9844DC #DC4C44 #88DC44 #44D4DC
split-complementary
#9844DC #D4DC44 #44DC4C
monochromatic
#591A8B #7A24BF #9844DC #B478E6 #D1ABEF

Accessibility & contrast

On white

5.01
#9844DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9844DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844DC#FFFFFF#000000##FFFFFF
##9844DC1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0670D9
Tritanopia (blue-blind)
#8C678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9844dc;
/* rgb */ color: rgb(152, 68, 220);
/* oklch */ color: oklch(57.0% 0.222 305.7);
Tailwind
colors: {
  custom: {
    50: '#bb7ee8',
    500: '#9844dc',
    950: '#000000',
  },
}
SCSS
$custom: #9844dc;
$custom-light: #bb7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#9844dc",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 220
  },
  "hsl": {
    "h": 273.158,
    "s": 68.468,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.22213,
    "h": 305.7
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#9844DC
secondary
#BBDD9F
accent
#EB3C8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9844DC

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

Preview Lab → · Contrast checker → · Palette generator →

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