#B525BC#B525BC

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

Color values

HEX#B525BC
RGBrgb(181, 37, 188)
HSLhsl(297, 67%, 44%)
HSVhsv(297, 80%, 74%)
CMYKcmyk(3.7%, 80.3%, 0%, 26.3%)
CIE-LABlab(45.33, 71.45, -47.42)
CIE-LCHlch(45.33, 85.75, 326.43°)
OKLaboklab(56.02% 0.196 -0.1321)
OKLCHoklch(56.02% 0.236 326)
XYZxyz(28.7941, 14.7798, 48.9034)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B525BC #2CBC25
analogous
#6A25BC #B525BC #BC2577
triadic
#B525BC #BCB525 #25BCB5
tetradic
#B525BC #BC6A25 #2CBC25 #2577BC
square
#B525BC #BC6A25 #2CBC25 #2577BC
split-complementary
#B525BC #77BC25 #25BC6A
monochromatic
#531156 #841B89 #B525BC #D344DA #DF77E4

Accessibility & contrast

On white

5.31
#B525BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B525BC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B525BC#FFFFFF#000000##FFFFFF
##B525BC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#BA4272
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b525bc;
/* rgb */ color: rgb(181, 37, 188);
/* oklch */ color: oklch(56.0% 0.236 326.0);
Tailwind
colors: {
  custom: {
    50: '#cf73d1',
    500: '#b525bc',
    950: '#000000',
  },
}
SCSS
$custom: #b525bc;
$custom-light: #cf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b525bc",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 297.219,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.23631,
    "h": 326
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#B525BC
secondary
#75CC71
accent
#EA3E46
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B525BC

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

Preview Lab → · Contrast checker → · Palette generator →

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