#9844B2#9844B2

#9844B2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.180 H 317.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9844B2
RGBrgb(152, 68, 178)
HSLhsl(286, 45%, 48%)
HSVhsv(286, 62%, 70%)
CMYKcmyk(14.6%, 61.8%, 0%, 30.2%)
CIE-LABlab(44.27, 52.03, -43.51)
CIE-LCHlch(44.27, 67.82, 320.10°)
OKLaboklab(54.19% 0.1324 -0.1217)
OKLCHoklch(54.19% 0.18 317.4)
XYZxyz(23.0507, 14.0249, 43.6037)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844B2 #5EB244
analogous
#6144B2 #9844B2 #B24495
triadic
#9844B2 #B29844 #44B298
tetradic
#9844B2 #B26144 #5EB244 #4495B2
square
#9844B2 #B26144 #5EB244 #4495B2
split-complementary
#9844B2 #95B244 #44B261
monochromatic
#4C2259 #723386 #9844B2 #B26CC7 #C999D8

Accessibility & contrast

On white

5.52
#9844B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9844B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844B2#FFFFFF#000000##FFFFFF
##9844B21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#975775
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9844b2;
/* rgb */ color: rgb(152, 68, 178);
/* oklch */ color: oklch(54.2% 0.180 317.4);
Tailwind
colors: {
  custom: {
    50: '#b97dc9',
    500: '#9844b2',
    950: '#000000',
  },
}
SCSS
$custom: #9844b2;
$custom-light: #b97dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9844b2",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 285.818,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.17984,
    "h": 317.4
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#9844B2
secondary
#9BC48E
accent
#D45372
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9844B2

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

Preview Lab → · Contrast checker → · Palette generator →

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