#B852D2#B852D2

#B852D2 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.205 H 319.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B852D2
RGBrgb(184, 82, 210)
HSLhsl(288, 59%, 57%)
HSVhsv(288, 61%, 82%)
CMYKcmyk(12.4%, 61%, 0%, 17.6%)
CIE-LABlab(52.82, 59.75, -48.16)
CIE-LCHlch(52.82, 76.74, 321.13°)
OKLaboklab(61.88% 0.1546 -0.1345)
OKLCHoklch(61.88% 0.205 319)
XYZxyz(34.4158, 20.8796, 63.1776)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852D2 #6CD252
analogous
#7852D2 #B852D2 #D252AC
triadic
#B852D2 #D2B852 #52D2B8
tetradic
#B852D2 #D27852 #6CD252 #52ACD2
square
#B852D2 #D27852 #6CD252 #52ACD2
split-complementary
#B852D2 #ACD252 #52D278
monochromatic
#722387 #9C30B7 #B852D2 #CC83DF #E0B3EB

Accessibility & contrast

On white

4.06
#B852D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B852D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852D2#FFFFFF#000000##000000
##B852D21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3077D6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#B8678B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b852d2;
/* rgb */ color: rgb(184, 82, 210);
/* oklch */ color: oklch(61.9% 0.205 319.0);
Tailwind
colors: {
  custom: {
    50: '#d088e0',
    500: '#b852d2',
    950: '#000000',
  },
}
SCSS
$custom: #b852d2;
$custom-light: #d088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b852d2",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 287.813,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.20486,
    "h": 319
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#B852D2
secondary
#B1DAA6
accent
#E24666
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B852D2

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

Preview Lab → · Contrast checker → · Palette generator →

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