#B330A4#B330A4

#B330A4 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.207 H 333.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B330A4
RGBrgb(179, 48, 164)
HSLhsl(307, 58%, 45%)
HSVhsv(307, 73%, 70%)
CMYKcmyk(0%, 73.2%, 8.4%, 29.8%)
CIE-LABlab(44.77, 64.06, -34.16)
CIE-LCHlch(44.77, 72.60, 331.94°)
OKLaboklab(55.13% 0.185 -0.0937)
OKLCHoklch(55.13% 0.207 333.1)
XYZxyz(26.3483, 14.3802, 36.5027)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A4 #30B33F
analogous
#8130B3 #B330A4 #B33063
triadic
#B330A4 #A4B330 #30A4B3
tetradic
#B330A4 #B38130 #30B33F #3063B3
square
#B330A4 #B38130 #30B33F #3063B3
split-complementary
#B330A4 #63B330 #30B381
monochromatic
#52164C #832378 #B330A4 #D050C1 #DD80D2

Accessibility & contrast

On white

5.42
#B330A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B330A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330A4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A4#FFFFFF#000000##FFFFFF
##B330A41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#BB3D67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a4;
/* rgb */ color: rgb(179, 48, 164);
/* oklch */ color: oklch(55.1% 0.207 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd75bf',
    500: '#b330a4',
    950: '#000000',
  },
}
SCSS
$custom: #b330a4;
$custom-light: #cd75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a4",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 306.87,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.20735,
    "h": 333.1
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#B330A4
secondary
#79C682
accent
#E15847
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A4

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

Preview Lab → · Contrast checker → · Palette generator →

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