#B852C8#B852C8

#B852C8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.196 H 322.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B852C8
RGBrgb(184, 82, 200)
HSLhsl(292, 52%, 55%)
HSVhsv(292, 59%, 78%)
CMYKcmyk(8%, 59%, 0%, 21.6%)
CIE-LABlab(52.28, 57.84, -43.29)
CIE-LCHlch(52.28, 72.24, 323.19°)
OKLaboklab(61.32% 0.1542 -0.1203)
OKLCHoklch(61.32% 0.196 322)
XYZxyz(33.2087, 20.3967, 56.8201)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852C8 #62C852
analogous
#7D52C8 #B852C8 #C8529D
triadic
#B852C8 #C8B852 #52C8B8
tetradic
#B852C8 #C87D52 #62C852 #529DC8
square
#B852C8 #C87D52 #62C852 #529DC8
split-complementary
#B852C8 #9DC852 #52C87D
monochromatic
#6E2779 #9835A8 #B852C8 #CB80D7 #DEAFE6

Accessibility & contrast

On white

4.13
#B852C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B852C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852C8#FFFFFF#000000##000000
##B852C81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#BA6485
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b852c8;
/* rgb */ color: rgb(184, 82, 200);
/* oklch */ color: oklch(61.3% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#d088d9',
    500: '#b852c8',
    950: '#000000',
  },
}
SCSS
$custom: #b852c8;
$custom-light: #d088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b852c8",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 291.864,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.19553,
    "h": 322
  },
  "luminance": 0.20395
}

Semantic roles & 50–950 ramp

primary
#B852C8
secondary
#A9D4A2
accent
#DB4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B852C8

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

Preview Lab → · Contrast checker → · Palette generator →

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