#B852CD#B852CD

#B852CD is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.200 H 320.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B852CD
RGBrgb(184, 82, 205)
HSLhsl(290, 55%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(10.2%, 60%, 0%, 19.6%)
CIE-LABlab(52.55, 58.79, -45.74)
CIE-LCHlch(52.55, 74.48, 322.12°)
OKLaboklab(61.6% 0.1544 -0.1274)
OKLCHoklch(61.6% 0.2 320.5)
XYZxyz(33.8026, 20.6343, 59.9481)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852CD #67CD52
analogous
#7B52CD #B852CD #CD52A5
triadic
#B852CD #CDB852 #52CDB8
tetradic
#B852CD #CD7B52 #67CD52 #52A5CD
square
#B852CD #CD7B52 #67CD52 #52A5CD
split-complementary
#B852CD #A5CD52 #52CD7B
monochromatic
#702580 #9A33AF #B852CD #CB81DB #DFB1E8

Accessibility & contrast

On white

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

On black

5.13
#B852CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852CD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852CD#FFFFFF#000000##000000
##B852CD1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B96588
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b852cd;
/* rgb */ color: rgb(184, 82, 205);
/* oklch */ color: oklch(61.6% 0.200 320.5);
Tailwind
colors: {
  custom: {
    50: '#d088dd',
    500: '#b852cd',
    950: '#000000',
  },
}
SCSS
$custom: #b852cd;
$custom-light: #d088dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b852cd",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 289.756,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.616,
    "c": 0.20017,
    "h": 320.5
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B852CD

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

Preview Lab → · Contrast checker → · Palette generator →

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