#B333AD#B333AD

#B333AD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.211 H 330.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B333AD
RGBrgb(179, 51, 173)
HSLhsl(303, 56%, 45%)
HSVhsv(303, 72%, 70%)
CMYKcmyk(0%, 71.5%, 3.4%, 29.8%)
CIE-LABlab(45.59, 64.47, -38.20)
CIE-LCHlch(45.59, 74.94, 329.35°)
OKLaboklab(55.87% 0.1825 -0.1054)
OKLCHoklch(55.87% 0.211 330)
XYZxyz(27.3169, 14.9706, 40.9779)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333AD #33B339
analogous
#7933B3 #B333AD #B3336D
triadic
#B333AD #ADB333 #33ADB3
tetradic
#B333AD #B37933 #33B339 #336DB3
square
#B333AD #B37933 #33B339 #336DB3
split-complementary
#B333AD #6DB333 #33B379
monochromatic
#541851 #83257F #B333AD #CE55C9 #DC84D8

Accessibility & contrast

On white

5.26
#B333AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B333AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333AD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333AD#FFFFFF#000000##FFFFFF
##B333AD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#BA446D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b333ad;
/* rgb */ color: rgb(179, 51, 173);
/* oklch */ color: oklch(55.9% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c6',
    500: '#b333ad',
    950: '#000000',
  },
}
SCSS
$custom: #b333ad;
$custom-light: #cd77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b333ad",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 302.813,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55872,
    "c": 0.21073,
    "h": 330
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#B333AD
secondary
#7CC680
accent
#DF5049
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333AD

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

Preview Lab → · Contrast checker → · Palette generator →

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