#B052AA#B052AA

#B052AA is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.7% C 0.164 H 329.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B052AA
RGBrgb(176, 82, 170)
HSLhsl(304, 37%, 51%)
HSVhsv(304, 53%, 69%)
CMYKcmyk(0%, 53.4%, 3.4%, 31%)
CIE-LABlab(49.70, 50.20, -30.02)
CIE-LCHlch(49.70, 58.49, 329.12°)
OKLaboklab(58.72% 0.1417 -0.0822)
OKLCHoklch(58.72% 0.164 329.9)
XYZxyz(28.1772, 18.1687, 40.0452)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052AA #52B058
analogous
#8752B0 #B052AA #B0527B
triadic
#B052AA #AAB052 #52AAB0
tetradic
#B052AA #B08752 #52B058 #527BB0
square
#B052AA #B08752 #52B058 #527BB0
split-complementary
#B052AA #7BB052 #52B087
monochromatic
#5D2B5A #873E82 #B052AA #C37CBF #D6A6D3

Accessibility & contrast

On white

4.53
#B052AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B052AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052AA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052AA#FFFFFF#000000##000000
##B052AA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#B65B76
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b052aa;
/* rgb */ color: rgb(176, 82, 170);
/* oklch */ color: oklch(58.7% 0.164 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca87c3',
    500: '#b052aa',
    950: '#000000',
  },
}
SCSS
$custom: #b052aa;
$custom-light: #ca87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b052aa",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 303.83,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.16381,
    "h": 329.9
  },
  "luminance": 0.18167
}

Semantic roles & 50–950 ramp

primary
#B052AA
secondary
#9AC49D
accent
#CD625B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #B052AA

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

Preview Lab → · Contrast checker → · Palette generator →

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