#B529A2#B529A2

#B529A2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.214 H 334.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B529A2
RGBrgb(181, 41, 162)
HSLhsl(308, 63%, 44%)
HSVhsv(308, 77%, 71%)
CMYKcmyk(0%, 77.3%, 10.5%, 29%)
CIE-LABlab(44.26, 66.36, -33.74)
CIE-LCHlch(44.26, 74.45, 333.05°)
OKLaboklab(54.8% 0.1931 -0.0924)
OKLCHoklch(54.8% 0.214 334.4)
XYZxyz(26.3709, 14.0206, 35.4928)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B529A2 #29B53C
analogous
#8229B5 #B529A2 #B5295C
triadic
#B529A2 #A2B529 #29A2B5
tetradic
#B529A2 #B58229 #29B53C #295CB5
square
#B529A2 #B58229 #29B53C #295CB5
split-complementary
#B529A2 #5CB529 #29B582
monochromatic
#511249 #831E75 #B529A2 #D546C2 #E078D2

Accessibility & contrast

On white

5.52
#B529A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B529A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B529A2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B529A2#FFFFFF#000000##FFFFFF
##B529A21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#BE3764
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b529a2;
/* rgb */ color: rgb(181, 41, 162);
/* oklch */ color: oklch(54.8% 0.214 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf73be',
    500: '#b529a2',
    950: '#000000',
  },
}
SCSS
$custom: #b529a2;
$custom-light: #cf73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b529a2",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 308.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.21413,
    "h": 334.4
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#B529A2
secondary
#72C87D
accent
#E65842
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B529A2

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

Preview Lab → · Contrast checker → · Palette generator →

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