#B333A9#B333A9

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

Color values

HEX#B333A9
RGBrgb(179, 51, 169)
HSLhsl(305, 56%, 45%)
HSVhsv(305, 72%, 70%)
CMYKcmyk(0%, 71.5%, 5.6%, 29.8%)
CIE-LABlab(45.38, 63.84, -36.16)
CIE-LCHlch(45.38, 73.37, 330.47°)
OKLaboklab(55.65% 0.1823 -0.0995)
OKLCHoklch(55.65% 0.208 331.4)
XYZxyz(26.9356, 14.8181, 38.9699)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A9 #33B33D
analogous
#7D33B3 #B333A9 #B33369
triadic
#B333A9 #A9B333 #33A9B3
tetradic
#B333A9 #B37D33 #33B33D #3369B3
square
#B333A9 #B37D33 #33B33D #3369B3
split-complementary
#B333A9 #69B333 #33B37D
monochromatic
#54184F #83257C #B333A9 #CE55C5 #DC84D5

Accessibility & contrast

On white

5.30
#B333A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B333A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333A9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A9#FFFFFF#000000##FFFFFF
##B333A91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#BA426B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b333a9;
/* rgb */ color: rgb(179, 51, 169);
/* oklch */ color: oklch(55.7% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd77c3',
    500: '#b333a9',
    950: '#000000',
  },
}
SCSS
$custom: #b333a9;
$custom-light: #cd77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a9",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 304.688,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.20771,
    "h": 331.4
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#B333A9
secondary
#7CC682
accent
#DF5549
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B333A9

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

Preview Lab → · Contrast checker → · Palette generator →

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