#9850BB#9850BB

#9850BB is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.3% C 0.171 H 313.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9850BB
RGBrgb(152, 80, 187)
HSLhsl(280, 44%, 52%)
HSVhsv(280, 57%, 73%)
CMYKcmyk(18.7%, 57.2%, 0%, 26.7%)
CIE-LABlab(46.98, 47.99, -44.46)
CIE-LCHlch(46.98, 65.42, 317.19°)
OKLaboklab(56.33% 0.1173 -0.1245)
OKLCHoklch(56.33% 0.171 313.3)
XYZxyz(24.7857, 16.0012, 48.7870)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850BB #73BB50
analogous
#6350BB #9850BB #BB50A8
triadic
#9850BB #BB9850 #50BB98
tetradic
#9850BB #BB6350 #73BB50 #50A8BB
square
#9850BB #BB6350 #73BB50 #50A8BB
split-complementary
#9850BB #A8BB50 #50BB63
monochromatic
#532868 #773A94 #9850BB #B27CCC #CCA8DD

Accessibility & contrast

On white

5.00
#9850BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9850BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850BB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850BB#FFFFFF#000000##FFFFFF
##9850BB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#95627E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9850bb;
/* rgb */ color: rgb(152, 80, 187);
/* oklch */ color: oklch(56.3% 0.171 313.3);
Tailwind
colors: {
  custom: {
    50: '#b984d0',
    500: '#9850bb',
    950: '#000000',
  },
}
SCSS
$custom: #9850bb;
$custom-light: #b984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9850bb",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 280.374,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.17109,
    "h": 313.3
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#9850BB
secondary
#ABCB9C
accent
#D4547E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9850BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9850BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva