#9852BB#9852BB

#9852BB is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.6% C 0.168 H 313.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9852BB
RGBrgb(152, 82, 187)
HSLhsl(280, 44%, 53%)
HSVhsv(280, 56%, 73%)
CMYKcmyk(18.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(47.36, 46.96, -43.85)
CIE-LCHlch(47.36, 64.25, 316.96°)
OKLaboklab(56.61% 0.1147 -0.1227)
OKLCHoklch(56.61% 0.168 313.1)
XYZxyz(24.9343, 16.2985, 48.8365)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9852BB #75BB52
analogous
#6452BB #9852BB #BB52A9
triadic
#9852BB #BB9852 #52BB98
tetradic
#9852BB #BB6452 #75BB52 #52A9BB
square
#9852BB #BB6452 #75BB52 #52A9BB
split-complementary
#9852BB #A9BB52 #52BB64
monochromatic
#542969 #773B95 #9852BB #B27ECC #CCAADE

Accessibility & contrast

On white

4.93
#9852BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9852BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9852BB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9852BB#FFFFFF#000000##FFFFFF
##9852BB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#95647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9852bb;
/* rgb */ color: rgb(152, 82, 187);
/* oklch */ color: oklch(56.6% 0.168 313.1);
Tailwind
colors: {
  custom: {
    50: '#b986d0',
    500: '#9852bb',
    950: '#000000',
  },
}
SCSS
$custom: #9852bb;
$custom-light: #b986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9852bb",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.16798,
    "h": 313.1
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#9852BB
secondary
#ADCB9E
accent
#D3547F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9852BB

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

Preview Lab → · Contrast checker → · Palette generator →

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