#B330AB#B330AB

#B330AB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.212 H 330.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B330AB
RGBrgb(179, 48, 171)
HSLhsl(304, 58%, 45%)
HSVhsv(304, 73%, 70%)
CMYKcmyk(0%, 73.2%, 4.5%, 29.8%)
CIE-LABlab(45.14, 65.15, -37.74)
CIE-LCHlch(45.14, 75.29, 329.92°)
OKLaboklab(55.51% 0.1853 -0.104)
OKLCHoklch(55.51% 0.213 330.7)
XYZxyz(26.9980, 14.6400, 39.9240)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330AB #30B338
analogous
#7A30B3 #B330AB #B3306A
triadic
#B330AB #ABB330 #30ABB3
tetradic
#B330AB #B37A30 #30B338 #306AB3
square
#B330AB #B37A30 #30B338 #306AB3
split-complementary
#B330AB #6AB330 #30B37A
monochromatic
#52164F #83237D #B330AB #D050C8 #DD80D7

Accessibility & contrast

On white

5.35
#B330AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B330AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330AB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330AB#FFFFFF#000000##FFFFFF
##B330AB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#BA416B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b330ab;
/* rgb */ color: rgb(179, 48, 171);
/* oklch */ color: oklch(55.5% 0.212 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c4',
    500: '#b330ab',
    950: '#000000',
  },
}
SCSS
$custom: #b330ab;
$custom-light: #cd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b330ab",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 303.664,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55509,
    "c": 0.2125,
    "h": 330.7
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B330AB

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

Preview Lab → · Contrast checker → · Palette generator →

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