#B330A5#B330A5

#B330A5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.208 H 332.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B330A5
RGBrgb(179, 48, 165)
HSLhsl(306, 58%, 45%)
HSVhsv(306, 73%, 70%)
CMYKcmyk(0%, 73.2%, 7.8%, 29.8%)
CIE-LABlab(44.82, 64.22, -34.67)
CIE-LCHlch(44.82, 72.98, 331.64°)
OKLaboklab(55.18% 0.185 -0.0952)
OKLCHoklch(55.18% 0.208 332.8)
XYZxyz(26.4390, 14.4164, 36.9802)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A5 #30B33E
analogous
#8030B3 #B330A5 #B33064
triadic
#B330A5 #A5B330 #30A5B3
tetradic
#B330A5 #B38030 #30B33E #3064B3
square
#B330A5 #B38030 #30B33E #3064B3
split-complementary
#B330A5 #64B330 #30B380
monochromatic
#52164C #832379 #B330A5 #D050C2 #DD80D3

Accessibility & contrast

On white

5.41
#B330A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B330A5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A5#FFFFFF#000000##FFFFFF
##B330A51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#5B71A2
Tritanopia (blue-blind)
#BB3E67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a5;
/* rgb */ color: rgb(179, 48, 165);
/* oklch */ color: oklch(55.2% 0.208 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd75c0',
    500: '#b330a5',
    950: '#000000',
  },
}
SCSS
$custom: #b330a5;
$custom-light: #cd75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a5",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 306.412,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.20808,
    "h": 332.8
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#B330A5
secondary
#79C681
accent
#E15747
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A5

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

Preview Lab → · Contrast checker → · Palette generator →

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