#B052BD#B052BD

#B052BD is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.181 H 322.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B052BD
RGBrgb(176, 82, 189)
HSLhsl(293, 45%, 53%)
HSVhsv(293, 57%, 74%)
CMYKcmyk(6.9%, 56.6%, 0%, 25.9%)
CIE-LABlab(50.62, 53.69, -39.65)
CIE-LCHlch(50.62, 66.75, 323.55°)
OKLaboklab(59.69% 0.144 -0.1099)
OKLCHoklch(59.69% 0.181 322.6)
XYZxyz(30.1062, 18.9403, 50.2043)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BD #5FBD52
analogous
#7A52BD #B052BD #BD5294
triadic
#B052BD #BDB052 #52BDB0
tetradic
#B052BD #BD7A52 #5FBD52 #5294BD
square
#B052BD #BD7A52 #5FBD52 #5294BD
split-complementary
#B052BD #94BD52 #52BD7A
monochromatic
#63296C #8C3A98 #B052BD #C47ECE #D8ABDF

Accessibility & contrast

On white

4.39
#B052BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B052BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BD#FFFFFF#000000##000000
##B052BD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071C0
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#B26180
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b052bd;
/* rgb */ color: rgb(176, 82, 189);
/* oklch */ color: oklch(59.7% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca87d1',
    500: '#b052bd',
    950: '#000000',
  },
}
SCSS
$custom: #b052bd;
$custom-light: #ca87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b052bd",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 292.71,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.18117,
    "h": 322.6
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#B052BD
secondary
#A4CC9E
accent
#D45363
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B052BD

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

Preview Lab → · Contrast checker → · Palette generator →

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