#B333A0#B333A0

#B333A0 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.201 H 334.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B333A0
RGBrgb(179, 51, 160)
HSLhsl(309, 56%, 45%)
HSVhsv(309, 72%, 70%)
CMYKcmyk(0%, 71.5%, 10.6%, 29.8%)
CIE-LABlab(44.93, 62.44, -31.52)
CIE-LCHlch(44.93, 69.95, 333.21°)
OKLaboklab(55.18% 0.1817 -0.0862)
OKLCHoklch(55.18% 0.201 334.6)
XYZxyz(26.1197, 14.4917, 34.6724)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333A0 #33B346
analogous
#8633B3 #B333A0 #B33360
triadic
#B333A0 #A0B333 #33A0B3
tetradic
#B333A0 #B38633 #33B346 #3360B3
square
#B333A0 #B38633 #33B346 #3360B3
split-complementary
#B333A0 #60B333 #33B386
monochromatic
#54184B #832575 #B333A0 #CE55BC #DC84CF

Accessibility & contrast

On white

5.39
#B333A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B333A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333A0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333A0#FFFFFF#000000##FFFFFF
##B333A01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#BC3D66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b333a0;
/* rgb */ color: rgb(179, 51, 160);
/* oklch */ color: oklch(55.2% 0.201 334.6);
Tailwind
colors: {
  custom: {
    50: '#cd77bc',
    500: '#b333a0',
    950: '#000000',
  },
}
SCSS
$custom: #b333a0;
$custom-light: #cd77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b333a0",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 308.906,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.20108,
    "h": 334.6
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#B333A0
secondary
#7CC687
accent
#DF5F49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B333A0

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

Preview Lab → · Contrast checker → · Palette generator →

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