#B526BD#B526BD

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

Color values

HEX#B526BD
RGBrgb(181, 38, 189)
HSLhsl(297, 67%, 45%)
HSVhsv(297, 80%, 74%)
CMYKcmyk(4.2%, 79.9%, 0%, 25.9%)
CIE-LABlab(45.48, 71.36, -47.77)
CIE-LCHlch(45.48, 85.87, 326.20°)
OKLaboklab(56.14% 0.1952 -0.1331)
OKLCHoklch(56.14% 0.236 325.7)
XYZxyz(28.9339, 14.8861, 49.4836)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526BD #2EBD26
analogous
#6926BD #B526BD #BD267A
triadic
#B526BD #BDB526 #26BDB5
tetradic
#B526BD #BD6926 #2EBD26 #267ABD
square
#B526BD #BD6926 #2EBD26 #267ABD
split-complementary
#B526BD #7ABD26 #26BD69
monochromatic
#531257 #841C8A #B526BD #D246DA #DE79E4

Accessibility & contrast

On white

5.28
#B526BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B526BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526BD#FFFFFF#000000##FFFFFF
##B526BD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#B94373
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b526bd;
/* rgb */ color: rgb(181, 38, 189);
/* oklch */ color: oklch(56.1% 0.236 325.7);
Tailwind
colors: {
  custom: {
    50: '#cf73d1',
    500: '#b526bd',
    950: '#000000',
  },
}
SCSS
$custom: #b526bd;
$custom-light: #cf73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b526bd",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 296.821,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.23625,
    "h": 325.7
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#B526BD
secondary
#78CC73
accent
#E93E47
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B526BD

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

Preview Lab → · Contrast checker → · Palette generator →

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