#9850BC#9850BC

#9850BC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.4% C 0.172 H 313.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9850BC
RGBrgb(152, 80, 188)
HSLhsl(280, 45%, 53%)
HSVhsv(280, 57%, 74%)
CMYKcmyk(19.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(47.03, 48.21, -44.95)
CIE-LCHlch(47.03, 65.92, 317.00°)
OKLaboklab(56.39% 0.1174 -0.126)
OKLCHoklch(56.39% 0.172 313)
XYZxyz(24.8931, 16.0442, 49.3527)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850BC #74BC50
analogous
#6250BC #9850BC #BC50AA
triadic
#9850BC #BC9850 #50BC98
tetradic
#9850BC #BC6250 #74BC50 #50AABC
square
#9850BC #BC6250 #74BC50 #50AABC
split-complementary
#9850BC #AABC50 #50BC62
monochromatic
#542869 #773996 #9850BC #B27CCD #CCA9DE

Accessibility & contrast

On white

4.99
#9850BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9850BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850BC#FFFFFF#000000##FFFFFF
##9850BC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#94637E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9850bc;
/* rgb */ color: rgb(152, 80, 188);
/* oklch */ color: oklch(56.4% 0.172 313.0);
Tailwind
colors: {
  custom: {
    50: '#b984d1',
    500: '#9850bc',
    950: '#000000',
  },
}
SCSS
$custom: #9850bc;
$custom-light: #b984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9850bc",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 280,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.17217,
    "h": 313
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#9850BC
secondary
#ACCB9C
accent
#D4537E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9850BC

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

Preview Lab → · Contrast checker → · Palette generator →

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