#B330A9#B330A9

#B330A9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.211 H 331.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B330A9
RGBrgb(179, 48, 169)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 70%)
CMYKcmyk(0%, 73.2%, 5.6%, 29.8%)
CIE-LABlab(45.03, 64.84, -36.72)
CIE-LCHlch(45.03, 74.52, 330.48°)
OKLaboklab(55.4% 0.1852 -0.1011)
OKLCHoklch(55.4% 0.211 331.4)
XYZxyz(26.8088, 14.5643, 38.9277)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A9 #30B33A
analogous
#7C30B3 #B330A9 #B33068
triadic
#B330A9 #A9B330 #30A9B3
tetradic
#B330A9 #B37C30 #30B33A #3068B3
square
#B330A9 #B37C30 #30B33A #3068B3
split-complementary
#B330A9 #68B330 #30B37C
monochromatic
#52164E #83237B #B330A9 #D050C6 #DD80D6

Accessibility & contrast

On white

5.37
#B330A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B330A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330A9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A9#FFFFFF#000000##FFFFFF
##B330A91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#BA406A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b330a9;
/* rgb */ color: rgb(179, 48, 169);
/* oklch */ color: oklch(55.4% 0.211 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd76c3',
    500: '#b330a9',
    950: '#000000',
  },
}
SCSS
$custom: #b330a9;
$custom-light: #cd76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a9",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 304.58,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.554,
    "c": 0.21102,
    "h": 331.4
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#B330A9
secondary
#79C67F
accent
#E15347
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A9

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

Preview Lab → · Contrast checker → · Palette generator →

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