#B527A2#B527A2

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

Color values

HEX#B527A2
RGBrgb(181, 39, 162)
HSLhsl(308, 65%, 43%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 78.5%, 10.5%, 29%)
CIE-LABlab(44.07, 66.92, -34.05)
CIE-LCHlch(44.07, 75.08, 333.03°)
OKLaboklab(54.66% 0.1948 -0.0933)
OKLCHoklch(54.66% 0.216 334.4)
XYZxyz(26.3035, 13.8858, 35.4703)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B527A2 #27B53A
analogous
#8127B5 #B527A2 #B5275B
triadic
#B527A2 #A2B527 #27A2B5
tetradic
#B527A2 #B58127 #27B53A #275BB5
square
#B527A2 #B58127 #27B53A #275BB5
split-complementary
#B527A2 #5BB527 #27B581
monochromatic
#501148 #831C75 #B527A2 #D643C3 #E175D3

Accessibility & contrast

On white

5.56
#B527A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B527A2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B527A2#FFFFFF#000000##FFFFFF
##B527A21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#BE3563
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b527a2;
/* rgb */ color: rgb(181, 39, 162);
/* oklch */ color: oklch(54.7% 0.216 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf72be',
    500: '#b527a2',
    950: '#000000',
  },
}
SCSS
$custom: #b527a2;
$custom-light: #cf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b527a2",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 308.028,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.21599,
    "h": 334.4
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#B527A2
secondary
#6FC97B
accent
#E85740
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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