#B852CC#B852CC

#B852CC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.199 H 320.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B852CC
RGBrgb(184, 82, 204)
HSLhsl(290, 54%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(9.8%, 59.8%, 0%, 20%)
CIE-LABlab(52.49, 58.60, -45.25)
CIE-LCHlch(52.49, 74.03, 322.32°)
OKLaboklab(61.54% 0.1544 -0.126)
OKLCHoklch(61.54% 0.199 320.8)
XYZxyz(33.6823, 20.5861, 59.3144)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852CC #66CC52
analogous
#7B52CC #B852CC #CC52A3
triadic
#B852CC #CCB852 #52CCB8
tetradic
#B852CC #CC7B52 #66CC52 #52A3CC
square
#B852CC #CC7B52 #66CC52 #52A3CC
split-complementary
#B852CC #A3CC52 #52CC7B
monochromatic
#70257E #9A33AE #B852CC #CB81DA #DFB1E8

Accessibility & contrast

On white

4.10
#B852CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B852CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852CC#FFFFFF#000000##000000
##B852CC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#B96587
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b852cc;
/* rgb */ color: rgb(184, 82, 204);
/* oklch */ color: oklch(61.5% 0.199 320.8);
Tailwind
colors: {
  custom: {
    50: '#d088dc',
    500: '#b852cc',
    950: '#000000',
  },
}
SCSS
$custom: #b852cc;
$custom-light: #d088dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b852cc",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 290.164,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.19924,
    "h": 320.8
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#B852CC
secondary
#ACD6A4
accent
#DE4A62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B852CC

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

Preview Lab → · Contrast checker → · Palette generator →

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