#B527C4#B527C4

#B527C4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.241 H 323.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B527C4
RGBrgb(181, 39, 196)
HSLhsl(294, 67%, 46%)
HSVhsv(294, 80%, 77%)
CMYKcmyk(7.7%, 80.1%, 0%, 23.1%)
CIE-LABlab(45.99, 72.26, -51.03)
CIE-LCHlch(45.99, 88.46, 324.77°)
OKLaboklab(56.64% 0.1939 -0.1426)
OKLCHoklch(56.64% 0.241 323.7)
XYZxyz(29.7445, 15.2622, 53.5931)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527C4 #36C427
analogous
#6727C4 #B527C4 #C42784
triadic
#B527C4 #C4B527 #27C4B5
tetradic
#B527C4 #C46727 #36C427 #2784C4
square
#B527C4 #C46727 #36C427 #2784C4
split-complementary
#B527C4 #84C427 #27C467
monochromatic
#57135E #861D91 #B527C4 #CE4DDC #DC80E6

Accessibility & contrast

On white

5.18
#B527C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B527C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B527C4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527C4#FFFFFF#000000##FFFFFF
##B527C41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#B84877
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b527c4;
/* rgb */ color: rgb(181, 39, 196);
/* oklch */ color: oklch(56.6% 0.241 323.7);
Tailwind
colors: {
  custom: {
    50: '#d074d6',
    500: '#b527c4',
    950: '#000000',
  },
}
SCSS
$custom: #b527c4;
$custom-light: #d074d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b527c4",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 294.268,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.24068,
    "h": 323.7
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#B527C4
secondary
#81CE79
accent
#EA3E4E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B527C4

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

Preview Lab → · Contrast checker → · Palette generator →

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