#9852BC#9852BC

#9852BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.169 H 312.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9852BC
RGBrgb(152, 82, 188)
HSLhsl(280, 44%, 53%)
HSVhsv(280, 56%, 74%)
CMYKcmyk(19.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(47.42, 47.18, -44.34)
CIE-LCHlch(47.42, 64.74, 316.78°)
OKLaboklab(56.67% 0.1147 -0.1242)
OKLCHoklch(56.67% 0.169 312.7)
XYZxyz(25.0417, 16.3415, 49.4023)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9852BC #76BC52
analogous
#6352BC #9852BC #BC52AB
triadic
#9852BC #BC9852 #52BC98
tetradic
#9852BC #BC6352 #76BC52 #52ABBC
square
#9852BC #BC6352 #76BC52 #52ABBC
split-complementary
#9852BC #ABBC52 #52BC63
monochromatic
#54296A #773A97 #9852BC #B27ECD #CDAADE

Accessibility & contrast

On white

4.92
#9852BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9852BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9852BC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9852BC#FFFFFF#000000##FFFFFF
##9852BC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#94647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9852bc;
/* rgb */ color: rgb(152, 82, 188);
/* oklch */ color: oklch(56.7% 0.169 312.7);
Tailwind
colors: {
  custom: {
    50: '#b986d1',
    500: '#9852bc',
    950: '#000000',
  },
}
SCSS
$custom: #9852bc;
$custom-light: #b986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9852bc",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 279.623,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.16907,
    "h": 312.7
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#9852BC
secondary
#AECC9E
accent
#D4547F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9852BC

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

Preview Lab → · Contrast checker → · Palette generator →

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