#B533B2#B533B2

#B533B2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.216 H 329.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B533B2
RGBrgb(181, 51, 178)
HSLhsl(301, 56%, 45%)
HSVhsv(301, 72%, 71%)
CMYKcmyk(0%, 71.8%, 1.7%, 29%)
CIE-LABlab(46.19, 65.73, -40.19)
CIE-LCHlch(46.19, 77.04, 328.56°)
OKLaboklab(56.45% 0.1847 -0.1111)
OKLCHoklch(56.45% 0.216 329)
XYZxyz(28.2755, 15.4079, 43.5956)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B533B2 #33B536
analogous
#7733B5 #B533B2 #B53371
triadic
#B533B2 #B2B533 #33B2B5
tetradic
#B533B2 #B57733 #33B536 #3371B5
square
#B533B2 #B57733 #33B536 #3371B5
split-complementary
#B533B2 #71B533 #33B577
monochromatic
#561854 #852683 #B533B2 #CF56CD #DD86DB

Accessibility & contrast

On white

5.15
#B533B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B533B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B533B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B533B2#FFFFFF#000000##FFFFFF
##B533B21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B6
Deuteranopia (green-blind)
#5873AF
Tritanopia (blue-blind)
#BB456F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b533b2;
/* rgb */ color: rgb(181, 51, 178);
/* oklch */ color: oklch(56.4% 0.216 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf77c9',
    500: '#b533b2',
    950: '#000000',
  },
}
SCSS
$custom: #b533b2;
$custom-light: #cf77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b533b2",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 301.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.21556,
    "h": 329
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#B533B2
secondary
#7DC67F
accent
#DF4C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B533B2

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

Preview Lab → · Contrast checker → · Palette generator →

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