#B333A8#B333A8

#B333A8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 331.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B333A8
RGBrgb(179, 51, 168)
HSLhsl(305, 56%, 45%)
HSVhsv(305, 72%, 70%)
CMYKcmyk(0%, 71.5%, 6.1%, 29.8%)
CIE-LABlab(45.33, 63.68, -35.65)
CIE-LCHlch(45.33, 72.98, 330.76°)
OKLaboklab(55.6% 0.1823 -0.098)
OKLCHoklch(55.6% 0.207 331.7)
XYZxyz(26.8421, 14.7807, 38.4774)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A8 #33B33E
analogous
#7E33B3 #B333A8 #B33368
triadic
#B333A8 #A8B333 #33A8B3
tetradic
#B333A8 #B37E33 #33B33E #3368B3
square
#B333A8 #B37E33 #33B33E #3368B3
split-complementary
#B333A8 #68B333 #33B37E
monochromatic
#54184F #83257B #B333A8 #CE55C4 #DC84D5

Accessibility & contrast

On white

5.31
#B333A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B333A8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A8#FFFFFF#000000##FFFFFF
##B333A81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#BA416A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b333a8;
/* rgb */ color: rgb(179, 51, 168);
/* oklch */ color: oklch(55.6% 0.207 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c2',
    500: '#b333a8',
    950: '#000000',
  },
}
SCSS
$custom: #b333a8;
$custom-light: #cd77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a8",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 305.156,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.20696,
    "h": 331.7
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#B333A8
secondary
#7CC683
accent
#DF5649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B333A8

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

Preview Lab → · Contrast checker → · Palette generator →

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