#B052BB#B052BB

#B052BB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.179 H 323.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B052BB
RGBrgb(176, 82, 187)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 56%, 73%)
CMYKcmyk(5.9%, 56.1%, 0%, 26.7%)
CIE-LABlab(50.52, 53.31, -38.65)
CIE-LCHlch(50.52, 65.85, 324.06°)
OKLaboklab(59.59% 0.1438 -0.107)
OKLCHoklch(59.59% 0.179 323.3)
XYZxyz(29.8906, 18.8541, 49.0688)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BB #5DBB52
analogous
#7B52BB #B052BB #BB5292
triadic
#B052BB #BBB052 #52BBB0
tetradic
#B052BB #BB7B52 #5DBB52 #5292BB
square
#B052BB #BB7B52 #5DBB52 #5292BB
split-complementary
#B052BB #92BB52 #52BB7B
monochromatic
#632969 #8C3B95 #B052BB #C47ECC #D8AADE

Accessibility & contrast

On white

4.40
#B052BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B052BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BB#FFFFFF#000000##000000
##B052BB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#B3607F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b052bb;
/* rgb */ color: rgb(176, 82, 187);
/* oklch */ color: oklch(59.6% 0.179 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca87d0',
    500: '#b052bb',
    950: '#000000',
  },
}
SCSS
$custom: #b052bb;
$custom-light: #ca87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b052bb",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 293.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.17929,
    "h": 323.3
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

primary
#B052BB
secondary
#A2CB9E
accent
#D35462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B052BB

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

Preview Lab → · Contrast checker → · Palette generator →

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