#B527AC#B527AC

#B527AC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.223 H 331.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B527AC
RGBrgb(181, 39, 172)
HSLhsl(304, 65%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 78.5%, 5%, 29%)
CIE-LABlab(44.60, 68.41, -39.17)
CIE-LCHlch(44.60, 78.83, 330.21°)
OKLaboklab(55.21% 0.1951 -0.1081)
OKLCHoklch(55.21% 0.223 331)
XYZxyz(27.2279, 14.2556, 40.3393)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527AC #27B530
analogous
#7727B5 #B527AC #B52765
triadic
#B527AC #ACB527 #27ACB5
tetradic
#B527AC #B57727 #27B530 #2765B5
square
#B527AC #B57727 #27B530 #2765B5
split-complementary
#B527AC #65B527 #27B577
monochromatic
#50114C #831C7C #B527AC #D643CD #E175DA

Accessibility & contrast

On white

5.45
#B527AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B527AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B527AC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527AC#FFFFFF#000000##FFFFFF
##B527AC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#BC3B69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b527ac;
/* rgb */ color: rgb(181, 39, 172);
/* oklch */ color: oklch(55.2% 0.223 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf73c5',
    500: '#b527ac',
    950: '#000000',
  },
}
SCSS
$custom: #b527ac;
$custom-light: #cf73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b527ac",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 303.803,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.223,
    "h": 331
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#B527AC
secondary
#6FC975
accent
#E84B40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B527AC

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

Preview Lab → · Contrast checker → · Palette generator →

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