#B333A2#B333A2

#B333A2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.203 H 333.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B333A2
RGBrgb(179, 51, 162)
HSLhsl(308, 56%, 45%)
HSVhsv(308, 72%, 70%)
CMYKcmyk(0%, 71.5%, 9.5%, 29.8%)
CIE-LABlab(45.03, 62.75, -32.56)
CIE-LCHlch(45.03, 70.69, 332.57°)
OKLaboklab(55.28% 0.1819 -0.0891)
OKLCHoklch(55.28% 0.203 333.9)
XYZxyz(26.2960, 14.5622, 35.6013)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A2 #33B344
analogous
#8433B3 #B333A2 #B33362
triadic
#B333A2 #A2B333 #33A2B3
tetradic
#B333A2 #B38433 #33B344 #3362B3
square
#B333A2 #B38433 #33B344 #3362B3
split-complementary
#B333A2 #62B333 #33B384
monochromatic
#54184C #832577 #B333A2 #CE55BE #DC84D0

Accessibility & contrast

On white

5.37
#B333A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B333A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333A2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A2#FFFFFF#000000##FFFFFF
##B333A21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#BB3E67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b333a2;
/* rgb */ color: rgb(179, 51, 162);
/* oklch */ color: oklch(55.3% 0.203 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd77be',
    500: '#b333a2',
    950: '#000000',
  },
}
SCSS
$custom: #b333a2;
$custom-light: #cd77be;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a2",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 307.969,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.20253,
    "h": 333.9
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#B333A2
secondary
#7CC686
accent
#DF5D49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B333A2

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

Preview Lab → · Contrast checker → · Palette generator →

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