#9849BD#9849BD

#9849BD is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.184 H 313.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9849BD
RGBrgb(152, 73, 189)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 61%, 74%)
CMYKcmyk(19.6%, 61.4%, 0%, 25.9%)
CIE-LABlab(45.79, 51.93, -47.52)
CIE-LCHlch(45.79, 70.39, 317.54°)
OKLaboklab(55.5% 0.1263 -0.1334)
OKLCHoklch(55.5% 0.184 313.4)
XYZxyz(24.5152, 15.1153, 49.7604)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849BD #6EBD49
analogous
#5E49BD #9849BD #BD49A8
triadic
#9849BD #BD9849 #49BD98
tetradic
#9849BD #BD5E49 #6EBD49 #49A8BD
square
#9849BD #BD5E49 #6EBD49 #49A8BD
split-complementary
#9849BD #A8BD49 #49BD5E
monochromatic
#522566 #753593 #9849BD #B176CD #CBA3DE

Accessibility & contrast

On white

5.22
#9849BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9849BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849BD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849BD#FFFFFF#000000##FFFFFF
##9849BD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#945E7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9849bd;
/* rgb */ color: rgb(152, 73, 189);
/* oklch */ color: oklch(55.5% 0.184 313.4);
Tailwind
colors: {
  custom: {
    50: '#b980d1',
    500: '#9849bd',
    950: '#000000',
  },
}
SCSS
$custom: #9849bd;
$custom-light: #b980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9849bd",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 280.862,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.18371,
    "h": 313.4
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#9849BD
secondary
#A8CA97
accent
#D6517C
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9849BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9849BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva