#B527AA#B527AA

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

Color values

HEX#B527AA
RGBrgb(181, 39, 170)
HSLhsl(305, 65%, 43%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 78.5%, 6.1%, 29%)
CIE-LABlab(44.49, 68.11, -38.15)
CIE-LCHlch(44.49, 78.06, 330.74°)
OKLaboklab(55.09% 0.195 -0.1051)
OKLCHoklch(55.09% 0.222 331.7)
XYZxyz(27.0373, 14.1793, 39.3353)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527AA #27B532
analogous
#7927B5 #B527AA #B52763
triadic
#B527AA #AAB527 #27AAB5
tetradic
#B527AA #B57927 #27B532 #2763B5
square
#B527AA #B57927 #27B532 #2763B5
split-complementary
#B527AA #63B527 #27B579
monochromatic
#50114B #831C7B #B527AA #D643CB #E175D9

Accessibility & contrast

On white

5.48
#B527AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B527AA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527AA#FFFFFF#000000##FFFFFF
##B527AA1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#BD3A68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b527aa;
/* rgb */ color: rgb(181, 39, 170);
/* oklch */ color: oklch(55.1% 0.222 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf72c4',
    500: '#b527aa',
    950: '#000000',
  },
}
SCSS
$custom: #b527aa;
$custom-light: #cf72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b527aa",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 304.648,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.22157,
    "h": 331.7
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#B527AA
secondary
#6FC976
accent
#E84D40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B527AA

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

Preview Lab → · Contrast checker → · Palette generator →

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