#B852CA#B852CA

#B852CA is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.197 H 321.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B852CA
RGBrgb(184, 82, 202)
HSLhsl(291, 53%, 56%)
HSVhsv(291, 59%, 79%)
CMYKcmyk(8.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(52.39, 58.22, -44.27)
CIE-LCHlch(52.39, 73.14, 322.75°)
OKLaboklab(61.43% 0.1543 -0.1231)
OKLCHoklch(61.43% 0.197 321.4)
XYZxyz(33.4439, 20.4908, 58.0592)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852CA #64CA52
analogous
#7C52CA #B852CA #CA52A0
triadic
#B852CA #CAB852 #52CAB8
tetradic
#B852CA #CA7C52 #64CA52 #52A0CA
square
#B852CA #CA7C52 #64CA52 #52A0CA
split-complementary
#B852CA #A0CA52 #52CA7C
monochromatic
#6F267C #9934AB #B852CA #CB81D8 #DEB0E7

Accessibility & contrast

On white

4.12
#B852CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B852CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852CA#FFFFFF#000000##000000
##B852CA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#BA6486
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b852ca;
/* rgb */ color: rgb(184, 82, 202);
/* oklch */ color: oklch(61.4% 0.197 321.4);
Tailwind
colors: {
  custom: {
    50: '#d088da',
    500: '#b852ca',
    950: '#000000',
  },
}
SCSS
$custom: #b852ca;
$custom-light: #d088da;
$custom-dark: #000000;
JSON
{
  "hex": "#b852ca",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 291,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.19738,
    "h": 321.4
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#B852CA
secondary
#AAD5A3
accent
#DD4B61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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