#B333B2#B333B2

#B333B2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.215 H 328.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B333B2
RGBrgb(179, 51, 178)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0%, 71.5%, 0.6%, 29.8%)
CIE-LABlab(45.86, 65.29, -40.72)
CIE-LCHlch(45.86, 76.95, 328.05°)
OKLaboklab(56.15% 0.1826 -0.1127)
OKLCHoklch(56.15% 0.215 328.3)
XYZxyz(27.8098, 15.1677, 43.5738)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333B2 #33B334
analogous
#7433B3 #B333B2 #B33372
triadic
#B333B2 #B2B333 #33B2B3
tetradic
#B333B2 #B37433 #33B334 #3372B3
square
#B333B2 #B37433 #33B334 #3372B3
split-complementary
#B333B2 #72B333 #33B374
monochromatic
#541853 #832583 #B333B2 #CE55CE #DC84DB

Accessibility & contrast

On white

5.21
#B333B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B333B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333B2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333B2#FFFFFF#000000##FFFFFF
##B333B21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#B9466F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b333b2;
/* rgb */ color: rgb(179, 51, 178);
/* oklch */ color: oklch(56.2% 0.215 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c9',
    500: '#b333b2',
    950: '#000000',
  },
}
SCSS
$custom: #b333b2;
$custom-light: #cd77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b333b2",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 300.469,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.21456,
    "h": 328.3
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#B333B2
secondary
#7CC67D
accent
#DF4A49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333B2

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

Preview Lab → · Contrast checker → · Palette generator →

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