#B533AC#B533AC

#B533AC is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.211 H 331.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B533AC
RGBrgb(181, 51, 172)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 71%)
CMYKcmyk(0%, 71.8%, 5%, 29%)
CIE-LABlab(45.87, 64.77, -37.15)
CIE-LCHlch(45.87, 74.67, 330.16°)
OKLaboklab(56.12% 0.1845 -0.1023)
OKLCHoklch(56.12% 0.211 331)
XYZxyz(27.6862, 15.1721, 40.4921)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B533AC #33B53C
analogous
#7D33B5 #B533AC #B5336B
triadic
#B533AC #ACB533 #33ACB5
tetradic
#B533AC #B57D33 #33B53C #336BB5
square
#B533AC #B57D33 #33B53C #336BB5
split-complementary
#B533AC #6BB533 #33B57D
monochromatic
#561851 #85267F #B533AC #CF56C7 #DD86D7

Accessibility & contrast

On white

5.21
#B533AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B533AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B533AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B533AC#FFFFFF#000000##FFFFFF
##B533AC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#BC436C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b533ac;
/* rgb */ color: rgb(181, 51, 172);
/* oklch */ color: oklch(56.1% 0.211 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf77c5',
    500: '#b533ac',
    950: '#000000',
  },
}
SCSS
$custom: #b533ac;
$custom-light: #cf77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b533ac",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 304.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.21101,
    "h": 331
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#B533AC
secondary
#7DC682
accent
#DF5348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B533AC

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

Preview Lab → · Contrast checker → · Palette generator →

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