#B330AC#B330AC

#B330AC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.213 H 330.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B330AC
RGBrgb(179, 48, 172)
HSLhsl(303, 58%, 45%)
HSVhsv(303, 73%, 70%)
CMYKcmyk(0%, 73.2%, 3.9%, 29.8%)
CIE-LABlab(45.19, 65.31, -38.25)
CIE-LCHlch(45.19, 75.69, 329.65°)
OKLaboklab(55.57% 0.1853 -0.1055)
OKLCHoklch(55.57% 0.213 330.3)
XYZxyz(27.0936, 14.6783, 40.4279)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330AC #30B337
analogous
#7930B3 #B330AC #B3306B
triadic
#B330AC #ACB330 #30ACB3
tetradic
#B330AC #B37930 #30B337 #306BB3
square
#B330AC #B37930 #30B337 #306BB3
split-complementary
#B330AC #6BB330 #30B379
monochromatic
#52164F #83237E #B330AC #D050C9 #DD80D8

Accessibility & contrast

On white

5.34
#B330AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B330AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330AC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330AC#FFFFFF#000000##FFFFFF
##B330AC1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#BA416B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b330ac;
/* rgb */ color: rgb(179, 48, 172);
/* oklch */ color: oklch(55.6% 0.213 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd76c5',
    500: '#b330ac',
    950: '#000000',
  },
}
SCSS
$custom: #b330ac;
$custom-light: #cd76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b330ac",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 303.206,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.21325,
    "h": 330.3
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#B330AC
secondary
#79C67D
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330AC

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

Preview Lab → · Contrast checker → · Palette generator →

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