#B852DA#B852DA

#B852DA is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.212 H 316.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B852DA
RGBrgb(184, 82, 218)
HSLhsl(285, 65%, 59%)
HSVhsv(285, 62%, 85%)
CMYKcmyk(15.6%, 62.4%, 0%, 14.5%)
CIE-LABlab(53.26, 61.32, -52.00)
CIE-LCHlch(53.26, 80.40, 319.70°)
OKLaboklab(62.35% 0.1546 -0.1457)
OKLCHoklch(62.35% 0.212 316.7)
XYZxyz(35.4375, 21.2882, 68.5584)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852DA #74DA52
analogous
#7452DA #B852DA #DA52B8
triadic
#B852DA #DAB852 #52DAB8
tetradic
#B852DA #DA7452 #74DA52 #52B8DA
square
#B852DA #DA7452 #74DA52 #52B8DA
split-complementary
#B852DA #B8DA52 #52DA74
monochromatic
#761F92 #9E2AC5 #B852DA #CD84E5 #E1B7F0

Accessibility & contrast

On white

3.99
#B852DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B852DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852DA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852DA#FFFFFF#000000##000000
##B852DA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#B66A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b852da;
/* rgb */ color: rgb(184, 82, 218);
/* oklch */ color: oklch(62.4% 0.212 316.7);
Tailwind
colors: {
  custom: {
    50: '#d189e6',
    500: '#b852da',
    950: '#000000',
  },
}
SCSS
$custom: #b852da;
$custom-light: #d189e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b852da",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 285,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.21243,
    "h": 316.7
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#B852DA
secondary
#B7DFA9
accent
#E8406A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B852DA

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

Preview Lab → · Contrast checker → · Palette generator →

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