#B333AA#B333AA

#B333AA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.208 H 331.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B333AA
RGBrgb(179, 51, 170)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 70%)
CMYKcmyk(0%, 71.5%, 5%, 29.8%)
CIE-LABlab(45.44, 63.99, -36.68)
CIE-LCHlch(45.44, 73.76, 330.18°)
OKLaboklab(55.71% 0.1824 -0.101)
OKLCHoklch(55.71% 0.208 331)
XYZxyz(27.0299, 14.8558, 39.4662)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333AA #33B33C
analogous
#7C33B3 #B333AA #B3336A
triadic
#B333AA #AAB333 #33AAB3
tetradic
#B333AA #B37C33 #33B33C #336AB3
square
#B333AA #B37C33 #33B33C #336AB3
split-complementary
#B333AA #6AB333 #33B37C
monochromatic
#541850 #83257D #B333AA #CE55C6 #DC84D6

Accessibility & contrast

On white

5.29
#B333AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B333AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333AA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333AA#FFFFFF#000000##FFFFFF
##B333AA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#BA426B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b333aa;
/* rgb */ color: rgb(179, 51, 170);
/* oklch */ color: oklch(55.7% 0.208 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b333aa',
    950: '#000000',
  },
}
SCSS
$custom: #b333aa;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b333aa",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 304.219,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.20846,
    "h": 331
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#B333AA
secondary
#7CC681
accent
#DF5349
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B333AA

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

Preview Lab → · Contrast checker → · Palette generator →

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