#B852BC#B852BC

#B852BC is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.185 H 326.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B852BC
RGBrgb(184, 82, 188)
HSLhsl(298, 44%, 53%)
HSVhsv(298, 56%, 74%)
CMYKcmyk(2.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(51.68, 55.62, -37.33)
CIE-LCHlch(51.68, 66.99, 326.13°)
OKLaboklab(60.68% 0.1532 -0.103)
OKLCHoklch(60.68% 0.185 326.1)
XYZxyz(31.8609, 19.8576, 49.7219)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852BC #56BC52
analogous
#8352BC #B852BC #BC528B
triadic
#B852BC #BCB852 #52BCB8
tetradic
#B852BC #BC8352 #56BC52 #528BBC
square
#B852BC #BC8352 #56BC52 #528BBC
split-complementary
#B852BC #8BBC52 #52BC83
monochromatic
#68296A #933A97 #B852BC #CA7ECD #DCAADE

Accessibility & contrast

On white

4.22
#B852BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B852BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852BC#FFFFFF#000000##000000
##B852BC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#BC5F7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b852bc;
/* rgb */ color: rgb(184, 82, 188);
/* oklch */ color: oklch(60.7% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#d088d0',
    500: '#b852bc',
    950: '#000000',
  },
}
SCSS
$custom: #b852bc;
$custom-light: #d088d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b852bc",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 297.736,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.18462,
    "h": 326.1
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#B852BC
secondary
#A0CC9E
accent
#D45459
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B852BC

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

Preview Lab → · Contrast checker → · Palette generator →

#B852BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva