#B052BC#B052BC

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

Color values

HEX#B052BC
RGBrgb(176, 82, 188)
HSLhsl(293, 44%, 53%)
HSVhsv(293, 56%, 74%)
CMYKcmyk(6.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(50.57, 53.50, -39.15)
CIE-LCHlch(50.57, 66.30, 323.80°)
OKLaboklab(59.64% 0.1439 -0.1085)
OKLCHoklch(59.64% 0.18 323)
XYZxyz(29.9980, 18.8970, 49.6346)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BC #5EBC52
analogous
#7B52BC #B052BC #BC5293
triadic
#B052BC #BCB052 #52BCB0
tetradic
#B052BC #BC7B52 #5EBC52 #5293BC
square
#B052BC #BC7B52 #5EBC52 #5293BC
split-complementary
#B052BC #93BC52 #52BC7B
monochromatic
#63296A #8C3A97 #B052BC #C47ECD #D8AADE

Accessibility & contrast

On white

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

On black

4.78
#B052BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BC#FFFFFF#000000##000000
##B052BC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B3617F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b052bc;
/* rgb */ color: rgb(176, 82, 188);
/* oklch */ color: oklch(59.6% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#ca87d0',
    500: '#b052bc',
    950: '#000000',
  },
}
SCSS
$custom: #b052bc;
$custom-light: #ca87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b052bc",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 293.208,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.18023,
    "h": 323
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#B052BC
secondary
#A3CC9E
accent
#D45462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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