#B852CE#B852CE

#B852CE is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.201 H 320.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B852CE
RGBrgb(184, 82, 206)
HSLhsl(289, 56%, 56%)
HSVhsv(289, 60%, 81%)
CMYKcmyk(10.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(52.60, 58.98, -46.22)
CIE-LCHlch(52.60, 74.93, 321.91°)
OKLaboklab(61.66% 0.1544 -0.1288)
OKLCHoklch(61.66% 0.201 320.2)
XYZxyz(33.9237, 20.6827, 60.5858)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852CE #68CE52
analogous
#7A52CE #B852CE #CE52A6
triadic
#B852CE #CEB852 #52CEB8
tetradic
#B852CE #CE7A52 #68CE52 #52A6CE
square
#B852CE #CE7A52 #68CE52 #52A6CE
split-complementary
#B852CE #A6CE52 #52CE7A
monochromatic
#712581 #9A32B1 #B852CE #CC82DC #DFB1E9

Accessibility & contrast

On white

4.09
#B852CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B852CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852CE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852CE#FFFFFF#000000##000000
##B852CE1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D2
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#B96688
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b852ce;
/* rgb */ color: rgb(184, 82, 206);
/* oklch */ color: oklch(61.7% 0.201 320.2);
Tailwind
colors: {
  custom: {
    50: '#d088dd',
    500: '#b852ce',
    950: '#000000',
  },
}
SCSS
$custom: #b852ce;
$custom-light: #d088dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b852ce",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 289.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.20111,
    "h": 320.2
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#B852CE
secondary
#ADD7A4
accent
#DF4963
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B852CE

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

Preview Lab → · Contrast checker → · Palette generator →

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