#B333AC#B333AC

#B333AC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.210 H 330.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B333AC
RGBrgb(179, 51, 172)
HSLhsl(303, 56%, 45%)
HSVhsv(303, 72%, 70%)
CMYKcmyk(0%, 71.5%, 3.9%, 29.8%)
CIE-LABlab(45.54, 64.31, -37.69)
CIE-LCHlch(45.54, 74.55, 329.63°)
OKLaboklab(55.82% 0.1824 -0.1039)
OKLCHoklch(55.82% 0.21 330.3)
XYZxyz(27.2205, 14.9320, 40.4702)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333AC #33B33A
analogous
#7A33B3 #B333AC #B3336C
triadic
#B333AC #ACB333 #33ACB3
tetradic
#B333AC #B37A33 #33B33A #336CB3
square
#B333AC #B37A33 #33B33A #336CB3
split-complementary
#B333AC #6CB333 #33B37A
monochromatic
#541850 #83257E #B333AC #CE55C8 #DC84D7

Accessibility & contrast

On white

5.27
#B333AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B333AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333AC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333AC#FFFFFF#000000##FFFFFF
##B333AC1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#BA436C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b333ac;
/* rgb */ color: rgb(179, 51, 172);
/* oklch */ color: oklch(55.8% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c5',
    500: '#b333ac',
    950: '#000000',
  },
}
SCSS
$custom: #b333ac;
$custom-light: #cd77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b333ac",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 303.281,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.20997,
    "h": 330.3
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#B333AC
secondary
#7CC680
accent
#DF5149
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333AC

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

Preview Lab → · Contrast checker → · Palette generator →

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