#B527BA#B527BA

#B527BA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.233 H 326.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B527BA
RGBrgb(181, 39, 186)
HSLhsl(298, 65%, 44%)
HSVhsv(298, 79%, 73%)
CMYKcmyk(2.7%, 79%, 0%, 27.1%)
CIE-LABlab(45.39, 70.61, -46.16)
CIE-LCHlch(45.39, 84.36, 326.83°)
OKLaboklab(56.02% 0.1947 -0.1284)
OKLCHoklch(56.02% 0.233 326.6)
XYZxyz(28.6440, 14.8220, 47.7971)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527BA #2CBA27
analogous
#6C27BA #B527BA #BA2776
triadic
#B527BA #BAB527 #27BAB5
tetradic
#B527BA #BA6C27 #2CBA27 #2776BA
square
#B527BA #BA6C27 #2CBA27 #2776BA
split-complementary
#B527BA #76BA27 #27BA6C
monochromatic
#531255 #841C87 #B527BA #D346D8 #DF79E3

Accessibility & contrast

On white

5.30
#B527BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B527BA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527BA#FFFFFF#000000##FFFFFF
##B527BA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#4E71B7
Tritanopia (blue-blind)
#BA4271
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b527ba;
/* rgb */ color: rgb(181, 39, 186);
/* oklch */ color: oklch(56.0% 0.233 326.6);
Tailwind
colors: {
  custom: {
    50: '#cf73cf',
    500: '#b527ba',
    950: '#000000',
  },
}
SCSS
$custom: #b527ba;
$custom-light: #cf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b527ba",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 297.959,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.23319,
    "h": 326.6
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#B527BA
secondary
#75CB72
accent
#E84045
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B527BA

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

Preview Lab → · Contrast checker → · Palette generator →

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