#B333A5#B333A5

#B333A5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.205 H 332.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B333A5
RGBrgb(179, 51, 165)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 70%)
CMYKcmyk(0%, 71.5%, 7.8%, 29.8%)
CIE-LABlab(45.18, 63.21, -34.11)
CIE-LCHlch(45.18, 71.83, 331.65°)
OKLaboklab(55.44% 0.1821 -0.0936)
OKLCHoklch(55.44% 0.205 332.8)
XYZxyz(26.5659, 14.6702, 37.0225)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A5 #33B341
analogous
#8133B3 #B333A5 #B33365
triadic
#B333A5 #A5B333 #33A5B3
tetradic
#B333A5 #B38133 #33B341 #3365B3
square
#B333A5 #B38133 #33B341 #3365B3
split-complementary
#B333A5 #65B333 #33B381
monochromatic
#54184D #832579 #B333A5 #CE55C1 #DC84D2

Accessibility & contrast

On white

5.34
#B333A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B333A5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A5#FFFFFF#000000##FFFFFF
##B333A51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#5D71A2
Tritanopia (blue-blind)
#BB4068
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b333a5;
/* rgb */ color: rgb(179, 51, 165);
/* oklch */ color: oklch(55.4% 0.205 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd77c0',
    500: '#b333a5',
    950: '#000000',
  },
}
SCSS
$custom: #b333a5;
$custom-light: #cd77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a5",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 306.563,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.20473,
    "h": 332.8
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#B333A5
secondary
#7CC684
accent
#DF5949
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B333A5

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

Preview Lab → · Contrast checker → · Palette generator →

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