#B525BD#B525BD

#B525BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.1% C 0.237 H 325.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B525BD
RGBrgb(181, 37, 189)
HSLhsl(297, 67%, 44%)
HSVhsv(297, 80%, 74%)
CMYKcmyk(4.2%, 80.4%, 0%, 25.9%)
CIE-LABlab(45.39, 71.61, -47.91)
CIE-LCHlch(45.39, 86.16, 326.22°)
OKLaboklab(56.08% 0.1959 -0.1335)
OKLCHoklch(56.08% 0.237 325.7)
XYZxyz(28.9023, 14.8230, 49.4731)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B525BD #2DBD25
analogous
#6925BD #B525BD #BD2579
triadic
#B525BD #BDB525 #25BDB5
tetradic
#B525BD #BD6925 #2DBD25 #2579BD
square
#B525BD #BD6925 #2DBD25 #2579BD
split-complementary
#B525BD #79BD25 #25BD69
monochromatic
#531157 #841B8A #B525BD #D345DB #DF78E5

Accessibility & contrast

On white

5.30
#B525BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B525BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B525BD#FFFFFF#000000##FFFFFF
##B525BD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#B94372
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b525bd;
/* rgb */ color: rgb(181, 37, 189);
/* oklch */ color: oklch(56.1% 0.237 325.7);
Tailwind
colors: {
  custom: {
    50: '#cf73d1',
    500: '#b525bd',
    950: '#000000',
  },
}
SCSS
$custom: #b525bd;
$custom-light: #cf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b525bd",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 296.842,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.23706,
    "h": 325.7
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#B525BD
secondary
#76CC72
accent
#EA3E47
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B525BD

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

Preview Lab → · Contrast checker → · Palette generator →

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