#B333A4#B333A4

#B333A4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.204 H 333.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B333A4
RGBrgb(179, 51, 164)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 70%)
CMYKcmyk(0%, 71.5%, 8.4%, 29.8%)
CIE-LABlab(45.13, 63.05, -33.60)
CIE-LCHlch(45.13, 71.45, 331.95°)
OKLaboklab(55.39% 0.182 -0.0921)
OKLCHoklch(55.39% 0.204 333.2)
XYZxyz(26.4752, 14.6339, 36.5450)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A4 #33B342
analogous
#8233B3 #B333A4 #B33364
triadic
#B333A4 #A4B333 #33A4B3
tetradic
#B333A4 #B38233 #33B342 #3364B3
square
#B333A4 #B38233 #33B342 #3364B3
split-complementary
#B333A4 #64B333 #33B382
monochromatic
#54184D #832578 #B333A4 #CE55C0 #DC84D2

Accessibility & contrast

On white

5.35
#B333A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B333A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333A4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A4#FFFFFF#000000##FFFFFF
##B333A41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#BB3F68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b333a4;
/* rgb */ color: rgb(179, 51, 164);
/* oklch */ color: oklch(55.4% 0.204 333.2);
Tailwind
colors: {
  custom: {
    50: '#cd77bf',
    500: '#b333a4',
    950: '#000000',
  },
}
SCSS
$custom: #b333a4;
$custom-light: #cd77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a4",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 307.031,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.20399,
    "h": 333.2
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#B333A4
secondary
#7CC685
accent
#DF5A49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B333A4

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

Preview Lab → · Contrast checker → · Palette generator →

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