#B330A1#B330A1

#B330A1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.205 H 334.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B330A1
RGBrgb(179, 48, 161)
HSLhsl(308, 58%, 45%)
HSVhsv(308, 73%, 70%)
CMYKcmyk(0%, 73.2%, 10.1%, 29.8%)
CIE-LABlab(44.62, 63.61, -32.60)
CIE-LCHlch(44.62, 71.48, 332.86°)
OKLaboklab(54.97% 0.1848 -0.0892)
OKLCHoklch(54.97% 0.205 334.2)
XYZxyz(26.0806, 14.2731, 35.0927)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A1 #30B342
analogous
#8330B3 #B330A1 #B33060
triadic
#B330A1 #A1B330 #30A1B3
tetradic
#B330A1 #B38330 #30B342 #3060B3
square
#B330A1 #B38330 #30B342 #3060B3
split-complementary
#B330A1 #60B330 #30B383
monochromatic
#52164A #832376 #B330A1 #D050BF #DD80D0

Accessibility & contrast

On white

5.45
#B330A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B330A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330A1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A1#FFFFFF#000000##FFFFFF
##B330A11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#BC3C65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a1;
/* rgb */ color: rgb(179, 48, 161);
/* oklch */ color: oklch(55.0% 0.205 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd75bd',
    500: '#b330a1',
    950: '#000000',
  },
}
SCSS
$custom: #b330a1;
$custom-light: #cd75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a1",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 308.244,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.20518,
    "h": 334.2
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#B330A1
secondary
#79C683
accent
#E15C47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A1

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

Preview Lab → · Contrast checker → · Palette generator →

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