#B333AB#B333AB

#B333AB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.209 H 330.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B333AB
RGBrgb(179, 51, 171)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 70%)
CMYKcmyk(0%, 71.5%, 4.5%, 29.8%)
CIE-LABlab(45.49, 64.15, -37.19)
CIE-LCHlch(45.49, 74.15, 329.90°)
OKLaboklab(55.76% 0.1824 -0.1025)
OKLCHoklch(55.76% 0.209 330.7)
XYZxyz(27.1248, 14.8937, 39.9663)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333AB #33B33B
analogous
#7B33B3 #B333AB #B3336B
triadic
#B333AB #ABB333 #33ABB3
tetradic
#B333AB #B37B33 #33B33B #336BB3
square
#B333AB #B37B33 #33B33B #336BB3
split-complementary
#B333AB #6BB333 #33B37B
monochromatic
#541850 #83257D #B333AB #CE55C7 #DC84D7

Accessibility & contrast

On white

5.28
#B333AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B333AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333AB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333AB#FFFFFF#000000##FFFFFF
##B333AB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#BA436C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b333ab;
/* rgb */ color: rgb(179, 51, 171);
/* oklch */ color: oklch(55.8% 0.209 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b333ab',
    950: '#000000',
  },
}
SCSS
$custom: #b333ab;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b333ab",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 303.75,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.20921,
    "h": 330.7
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#B333AB
secondary
#7CC681
accent
#DF5249
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333AB

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

Preview Lab → · Contrast checker → · Palette generator →

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