#B052BA#B052BA

#B052BA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.178 H 323.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B052BA
RGBrgb(176, 82, 186)
HSLhsl(294, 43%, 53%)
HSVhsv(294, 56%, 73%)
CMYKcmyk(5.4%, 55.9%, 0%, 27.1%)
CIE-LABlab(50.47, 53.12, -38.15)
CIE-LCHlch(50.47, 65.40, 324.31°)
OKLaboklab(59.53% 0.1437 -0.1056)
OKLCHoklch(59.53% 0.178 323.7)
XYZxyz(29.7839, 18.8114, 48.5070)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BA #5CBA52
analogous
#7C52BA #B052BA #BA5290
triadic
#B052BA #BAB052 #52BAB0
tetradic
#B052BA #BA7C52 #5CBA52 #5290BA
square
#B052BA #BA7C52 #5CBA52 #5290BA
split-complementary
#B052BA #90BA52 #52BA7C
monochromatic
#622A68 #8B3B94 #B052BA #C47ECB #D8AADD

Accessibility & contrast

On white

4.41
#B052BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B052BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BA#FFFFFF#000000##000000
##B052BA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#B3607E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b052ba;
/* rgb */ color: rgb(176, 82, 186);
/* oklch */ color: oklch(59.5% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#ca87cf',
    500: '#b052ba',
    950: '#000000',
  },
}
SCSS
$custom: #b052ba;
$custom-light: #ca87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b052ba",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 294.231,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.17835,
    "h": 323.7
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#B052BA
secondary
#A2CA9D
accent
#D35561
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B052BA

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

Preview Lab → · Contrast checker → · Palette generator →

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