#B333AF#B333AF

#B333AF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.212 H 329.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B333AF
RGBrgb(179, 51, 175)
HSLhsl(302, 56%, 45%)
HSVhsv(302, 72%, 70%)
CMYKcmyk(0%, 71.5%, 2.2%, 29.8%)
CIE-LABlab(45.70, 64.80, -39.21)
CIE-LCHlch(45.70, 75.74, 328.82°)
OKLaboklab(55.98% 0.1825 -0.1083)
OKLCHoklch(55.98% 0.212 329.3)
XYZxyz(27.5119, 15.0486, 42.0048)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333AF #33B337
analogous
#7733B3 #B333AF #B3336F
triadic
#B333AF #AFB333 #33AFB3
tetradic
#B333AF #B37733 #33B337 #336FB3
square
#B333AF #B37733 #33B337 #336FB3
split-complementary
#B333AF #6FB333 #33B377
monochromatic
#541852 #832580 #B333AF #CE55CB #DC84D9

Accessibility & contrast

On white

5.24
#B333AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B333AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333AF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333AF#FFFFFF#000000##FFFFFF
##B333AF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#B9456E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b333af;
/* rgb */ color: rgb(179, 51, 175);
/* oklch */ color: oklch(56.0% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c7',
    500: '#b333af',
    950: '#000000',
  },
}
SCSS
$custom: #b333af;
$custom-light: #cd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b333af",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 301.875,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.21226,
    "h": 329.3
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#B333AF
secondary
#7CC67F
accent
#DF4E49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333AF

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

Preview Lab → · Contrast checker → · Palette generator →

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