#B527A3#B527A3

#B527A3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.217 H 334.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B527A3
RGBrgb(181, 39, 163)
HSLhsl(308, 65%, 43%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 78.5%, 9.9%, 29%)
CIE-LABlab(44.12, 67.06, -34.56)
CIE-LCHlch(44.12, 75.45, 332.73°)
OKLaboklab(54.71% 0.1948 -0.0948)
OKLCHoklch(54.71% 0.217 334.1)
XYZxyz(26.3927, 13.9215, 35.9403)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527A3 #27B539
analogous
#8027B5 #B527A3 #B5275C
triadic
#B527A3 #A3B527 #27A3B5
tetradic
#B527A3 #B58027 #27B539 #275CB5
square
#B527A3 #B58027 #27B539 #275CB5
split-complementary
#B527A3 #5CB527 #27B580
monochromatic
#501148 #831C76 #B527A3 #D643C4 #E175D4

Accessibility & contrast

On white

5.55
#B527A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B527A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B527A3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527A3#FFFFFF#000000##FFFFFF
##B527A31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#5B6FA0
Tritanopia (blue-blind)
#BE3664
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b527a3;
/* rgb */ color: rgb(181, 39, 163);
/* oklch */ color: oklch(54.7% 0.217 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf72be',
    500: '#b527a3',
    950: '#000000',
  },
}
SCSS
$custom: #b527a3;
$custom-light: #cf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b527a3",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 307.606,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.21667,
    "h": 334.1
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#B527A3
secondary
#6FC97A
accent
#E85540
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B527A3

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

Preview Lab → · Contrast checker → · Palette generator →

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