#B529B6#B529B6

#B529B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.229 H 327.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B529B6
RGBrgb(181, 41, 182)
HSLhsl(300, 63%, 44%)
HSVhsv(300, 77%, 71%)
CMYKcmyk(0.5%, 77.5%, 0%, 28.6%)
CIE-LABlab(45.34, 69.43, -43.88)
CIE-LCHlch(45.34, 82.14, 327.71°)
OKLaboklab(55.92% 0.1933 -0.1218)
OKLCHoklch(55.92% 0.229 327.8)
XYZxyz(28.2921, 14.7891, 45.6114)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B529B6 #2AB629
analogous
#6E29B6 #B529B6 #B62970
triadic
#B529B6 #B6B529 #29B6B5
tetradic
#B529B6 #B66E29 #2AB629 #2970B6
square
#B529B6 #B66E29 #2AB629 #2970B6
split-complementary
#B529B6 #70B629 #29B66E
monochromatic
#521252 #831E84 #B529B6 #D447D5 #E079E1

Accessibility & contrast

On white

5.31
#B529B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B529B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B529B6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B529B6#FFFFFF#000000##FFFFFF
##B529B61.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#5171B3
Tritanopia (blue-blind)
#BB416F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b529b6;
/* rgb */ color: rgb(181, 41, 182);
/* oklch */ color: oklch(55.9% 0.229 327.8);
Tailwind
colors: {
  custom: {
    50: '#cf74cc',
    500: '#b529b6',
    950: '#000000',
  },
}
SCSS
$custom: #b529b6;
$custom-light: #cf74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b529b6",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 299.574,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.2285,
    "h": 327.8
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#B529B6
secondary
#73C972
accent
#E64243
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B529B6

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

Preview Lab → · Contrast checker → · Palette generator →

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