#9844D9#9844D9

#9844D9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.219 H 306.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9844D9
RGBrgb(152, 68, 217)
HSLhsl(274, 66%, 56%)
HSVhsv(274, 69%, 85%)
CMYKcmyk(30%, 68.7%, 0%, 14.9%)
CIE-LABlab(46.74, 60.43, -62.14)
CIE-LCHlch(46.74, 86.68, 314.20°)
OKLaboklab(56.75% 0.1301 -0.1763)
OKLCHoklch(56.75% 0.219 306.4)
XYZxyz(27.5377, 15.8197, 67.2350)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844D9 #85D944
analogous
#4E44D9 #9844D9 #D944CF
triadic
#9844D9 #D99844 #44D998
tetradic
#9844D9 #D94E44 #85D944 #44CFD9
square
#9844D9 #D94E44 #85D944 #44CFD9
split-complementary
#9844D9 #CFD944 #44D94E
monochromatic
#581B87 #7926BA #9844D9 #B477E3 #D0AAEE

Accessibility & contrast

On white

5.04
#9844D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9844D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844D9#FFFFFF#000000##FFFFFF
##9844D91.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#146FD6
Tritanopia (blue-blind)
#8D668A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9844d9;
/* rgb */ color: rgb(152, 68, 217);
/* oklch */ color: oklch(56.8% 0.219 306.4);
Tailwind
colors: {
  custom: {
    50: '#bb7ee6',
    500: '#9844d9',
    950: '#000000',
  },
}
SCSS
$custom: #9844d9;
$custom-light: #bb7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9844d9",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 273.826,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.2191,
    "h": 306.4
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#9844D9
secondary
#B8DB9E
accent
#E93F89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9844D9

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

Preview Lab → · Contrast checker → · Palette generator →

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