#B527AB#B527AB

#B527AB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.222 H 331.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B527AB
RGBrgb(181, 39, 171)
HSLhsl(304, 65%, 43%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 78.5%, 5.5%, 29%)
CIE-LABlab(44.54, 68.26, -38.66)
CIE-LCHlch(44.54, 78.45, 330.47°)
OKLaboklab(55.15% 0.1951 -0.1066)
OKLCHoklch(55.15% 0.222 331.3)
XYZxyz(27.1323, 14.2173, 39.8354)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527AB #27B531
analogous
#7827B5 #B527AB #B52764
triadic
#B527AB #ABB527 #27ABB5
tetradic
#B527AB #B57827 #27B531 #2764B5
square
#B527AB #B57827 #27B531 #2764B5
split-complementary
#B527AB #64B527 #27B578
monochromatic
#50114C #831C7B #B527AB #D643CC #E175DA

Accessibility & contrast

On white

5.46
#B527AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B527AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B527AB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527AB#FFFFFF#000000##FFFFFF
##B527AB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#BC3A69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b527ab;
/* rgb */ color: rgb(181, 39, 171);
/* oklch */ color: oklch(55.1% 0.222 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf73c4',
    500: '#b527ab',
    950: '#000000',
  },
}
SCSS
$custom: #b527ab;
$custom-light: #cf73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b527ab",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 304.225,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.22228,
    "h": 331.3
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B527AB

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

Preview Lab → · Contrast checker → · Palette generator →

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