#B33CAB#B33CAB

#B33CAB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.198 H 330.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B33CAB
RGBrgb(179, 60, 171)
HSLhsl(304, 50%, 47%)
HSVhsv(304, 66%, 70%)
CMYKcmyk(0%, 66.5%, 4.5%, 29.8%)
CIE-LABlab(46.66, 60.86, -35.35)
CIE-LCHlch(46.66, 70.38, 329.85°)
OKLaboklab(56.6% 0.1729 -0.0972)
OKLCHoklch(56.6% 0.198 330.7)
XYZxyz(27.5568, 15.7577, 40.1103)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33CAB #3CB344
analogous
#803CB3 #B33CAB #B33C6F
triadic
#B33CAB #ABB33C #3CABB3
tetradic
#B33CAB #B3803C #3CB344 #3C6FB3
square
#B33CAB #B3803C #3CB344 #3C6FB3
split-complementary
#B33CAB #6FB33C #3CB380
monochromatic
#571D53 #852D7F #B33CAB #CA62C3 #DA90D5

Accessibility & contrast

On white

5.06
#B33CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B33CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33CAB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33CAB#FFFFFF#000000##FFFFFF
##B33CAB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#5E74A8
Tritanopia (blue-blind)
#BA496E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b33cab;
/* rgb */ color: rgb(179, 60, 171);
/* oklch */ color: oklch(56.6% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd7bc4',
    500: '#b33cab',
    950: '#000000',
  },
}
SCSS
$custom: #b33cab;
$custom-light: #cd7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b33cab",
  "rgb": {
    "r": 179,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 304.034,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.19839,
    "h": 330.7
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#B33CAB
secondary
#86C58A
accent
#D9584E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B33CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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