#B533A8#B533A8

#B533A8 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.208 H 332.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B533A8
RGBrgb(181, 51, 168)
HSLhsl(306, 56%, 45%)
HSVhsv(306, 72%, 71%)
CMYKcmyk(0%, 71.8%, 7.2%, 29%)
CIE-LABlab(45.66, 64.14, -35.11)
CIE-LCHlch(45.66, 73.12, 331.30°)
OKLaboklab(55.9% 0.1843 -0.0964)
OKLCHoklch(55.9% 0.208 332.4)
XYZxyz(27.3078, 15.0208, 38.4993)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B533A8 #33B540
analogous
#8133B5 #B533A8 #B53367
triadic
#B533A8 #A8B533 #33A8B5
tetradic
#B533A8 #B58133 #33B540 #3367B5
square
#B533A8 #B58133 #33B540 #3367B5
split-complementary
#B533A8 #67B533 #33B581
monochromatic
#56184F #85267C #B533A8 #CF56C3 #DD86D4

Accessibility & contrast

On white

5.25
#B533A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B533A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B533A8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B533A8#FFFFFF#000000##FFFFFF
##B533A81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#BD416A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b533a8;
/* rgb */ color: rgb(181, 51, 168);
/* oklch */ color: oklch(55.9% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf77c2',
    500: '#b533a8',
    950: '#000000',
  },
}
SCSS
$custom: #b533a8;
$custom-light: #cf77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b533a8",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 306,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.559,
    "c": 0.20803,
    "h": 332.4
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#B533A8
secondary
#7DC685
accent
#DF5848
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B533A8

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

Preview Lab → · Contrast checker → · Palette generator →

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