#9844BA#9844BA

#9844BA is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.188 H 314.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9844BA
RGBrgb(152, 68, 186)
HSLhsl(283, 46%, 50%)
HSVhsv(283, 63%, 73%)
CMYKcmyk(18.3%, 63.4%, 0%, 27.1%)
CIE-LABlab(44.74, 53.69, -47.45)
CIE-LCHlch(44.74, 71.65, 318.53°)
OKLaboklab(54.68% 0.1324 -0.1332)
OKLCHoklch(54.68% 0.188 314.8)
XYZxyz(23.8775, 14.3556, 47.9580)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9844BA #66BA44
analogous
#5D44BA #9844BA #BA44A1
triadic
#9844BA #BA9844 #44BA98
tetradic
#9844BA #BA5D44 #66BA44 #44A1BA
square
#9844BA #BA5D44 #66BA44 #44A1BA
split-complementary
#9844BA #A1BA44 #44BA5D
monochromatic
#4F2360 #73348D #9844BA #B170CB #C99DDB

Accessibility & contrast

On white

5.42
#9844BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9844BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9844BA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9844BA#FFFFFF#000000##FFFFFF
##9844BA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#955A79
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9844ba;
/* rgb */ color: rgb(152, 68, 186);
/* oklch */ color: oklch(54.7% 0.188 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba7dcf',
    500: '#9844ba',
    950: '#000000',
  },
}
SCSS
$custom: #9844ba;
$custom-light: #ba7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9844ba",
  "rgb": {
    "r": 152,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 282.712,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.18781,
    "h": 314.8
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#9844BA
secondary
#A2C892
accent
#D65278
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9844BA

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

Preview Lab → · Contrast checker → · Palette generator →

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