#B052BE#B052BE

#B052BE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.182 H 322.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B052BE
RGBrgb(176, 82, 190)
HSLhsl(292, 45%, 53%)
HSVhsv(292, 57%, 75%)
CMYKcmyk(7.4%, 56.8%, 0%, 25.5%)
CIE-LABlab(50.67, 53.88, -40.15)
CIE-LCHlch(50.67, 67.20, 323.31°)
OKLaboklab(59.75% 0.1441 -0.1114)
OKLCHoklch(59.75% 0.182 322.3)
XYZxyz(30.2151, 18.9839, 50.7779)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BE #60BE52
analogous
#7A52BE #B052BE #BE5296
triadic
#B052BE #BEB052 #52BEB0
tetradic
#B052BE #BE7A52 #60BE52 #5296BE
square
#B052BE #BE7A52 #60BE52 #5296BE
split-complementary
#B052BE #96BE52 #52BE7A
monochromatic
#64296D #8D3A99 #B052BE #C47ECF #D9ABDF

Accessibility & contrast

On white

4.38
#B052BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B052BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BE#FFFFFF#000000##000000
##B052BE1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#B26180
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b052be;
/* rgb */ color: rgb(176, 82, 190);
/* oklch */ color: oklch(59.7% 0.182 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca87d2',
    500: '#b052be',
    950: '#000000',
  },
}
SCSS
$custom: #b052be;
$custom-light: #ca87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b052be",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 292.222,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.18211,
    "h": 322.3
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#B052BE
secondary
#A5CD9F
accent
#D55364
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B052BE

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

Preview Lab → · Contrast checker → · Palette generator →

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