#B052D1#B052D1

#B052D1 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.8% C 0.200 H 316.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B052D1
RGBrgb(176, 82, 209)
HSLhsl(284, 58%, 57%)
HSVhsv(284, 61%, 82%)
CMYKcmyk(15.8%, 60.8%, 0%, 18%)
CIE-LABlab(51.69, 57.62, -49.45)
CIE-LCHlch(51.69, 75.93, 319.36°)
OKLaboklab(60.82% 0.145 -0.1384)
OKLCHoklch(60.82% 0.2 316.3)
XYZxyz(32.4287, 19.8693, 62.4362)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052D1 #73D152
analogous
#7052D1 #B052D1 #D152B3
triadic
#B052D1 #D1B052 #52D1B0
tetradic
#B052D1 #D17052 #73D152 #52B3D1
square
#B052D1 #D17052 #73D152 #52B3D1
split-complementary
#B052D1 #B3D152 #52D170
monochromatic
#6C2385 #9330B6 #B052D1 #C682DE #DCB3EB

Accessibility & contrast

On white

4.22
#B052D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B052D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052D1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052D1#FFFFFF#000000##000000
##B052D11.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B75D5
Deuteranopia (green-blind)
#537ECE
Tritanopia (blue-blind)
#AE688A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b052d1;
/* rgb */ color: rgb(176, 82, 209);
/* oklch */ color: oklch(60.8% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb88e0',
    500: '#b052d1',
    950: '#000000',
  },
}
SCSS
$custom: #b052d1;
$custom-light: #cb88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b052d1",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 284.409,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.20045,
    "h": 316.3
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#B052D1
secondary
#B3D9A6
accent
#E1476F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052D1

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

Preview Lab → · Contrast checker → · Palette generator →

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