#B33BAB#B33BAB

#B33BAB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.200 H 330.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B33BAB
RGBrgb(179, 59, 171)
HSLhsl(304, 50%, 47%)
HSVhsv(304, 67%, 70%)
CMYKcmyk(0%, 67%, 4.5%, 29.8%)
CIE-LABlab(46.52, 61.25, -35.56)
CIE-LCHlch(46.52, 70.82, 329.86°)
OKLaboklab(56.5% 0.174 -0.0979)
OKLCHoklch(56.5% 0.2 330.7)
XYZxyz(27.5049, 15.6540, 40.0930)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33BAB #3BB343
analogous
#7F3BB3 #B33BAB #B33B6F
triadic
#B33BAB #ABB33B #3BABB3
tetradic
#B33BAB #B37F3B #3BB343 #3B6FB3
square
#B33BAB #B37F3B #3BB343 #3B6FB3
split-complementary
#B33BAB #6FB33B #3BB37F
monochromatic
#571D53 #852C7F #B33BAB #CB60C4 #DA8ED5

Accessibility & contrast

On white

5.08
#B33BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B33BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33BAB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33BAB#FFFFFF#000000##FFFFFF
##B33BAB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#BA486E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b33bab;
/* rgb */ color: rgb(179, 59, 171);
/* oklch */ color: oklch(56.5% 0.200 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd7bc4',
    500: '#b33bab',
    950: '#000000',
  },
}
SCSS
$custom: #b33bab;
$custom-light: #cd7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b33bab",
  "rgb": {
    "r": 179,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 304,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.19966,
    "h": 330.7
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#B33BAB
secondary
#85C589
accent
#DA574E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B33BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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