#B533A6#B533A6

#B533A6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.207 H 333.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B533A6
RGBrgb(181, 51, 166)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 71%)
CMYKcmyk(0%, 71.8%, 8.3%, 29%)
CIE-LABlab(45.56, 63.83, -34.08)
CIE-LCHlch(45.56, 72.36, 331.90°)
OKLaboklab(55.79% 0.1842 -0.0935)
OKLCHoklch(55.79% 0.207 333.1)
XYZxyz(27.1230, 14.9468, 37.5255)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B533A6 #33B542
analogous
#8333B5 #B533A6 #B53365
triadic
#B533A6 #A6B533 #33A6B5
tetradic
#B533A6 #B58333 #33B542 #3365B5
square
#B533A6 #B58333 #33B542 #3365B5
split-complementary
#B533A6 #65B533 #33B583
monochromatic
#56184E #85267A #B533A6 #CF56C1 #DD86D3

Accessibility & contrast

On white

5.26
#B533A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B533A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B533A6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B533A6#FFFFFF#000000##FFFFFF
##B533A61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#5E72A3
Tritanopia (blue-blind)
#BD4069
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b533a6;
/* rgb */ color: rgb(181, 51, 166);
/* oklch */ color: oklch(55.8% 0.207 333.1);
Tailwind
colors: {
  custom: {
    50: '#cf77c1',
    500: '#b533a6',
    950: '#000000',
  },
}
SCSS
$custom: #b533a6;
$custom-light: #cf77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b533a6",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 306.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.20657,
    "h": 333.1
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#B533A6
secondary
#7DC686
accent
#DF5A48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B533A6

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

Preview Lab → · Contrast checker → · Palette generator →

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