#B330A2#B330A2

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

Color values

HEX#B330A2
RGBrgb(179, 48, 162)
HSLhsl(308, 58%, 45%)
HSVhsv(308, 73%, 70%)
CMYKcmyk(0%, 73.2%, 9.5%, 29.8%)
CIE-LABlab(44.67, 63.76, -33.12)
CIE-LCHlch(44.67, 71.85, 332.55°)
OKLaboklab(55.03% 0.1848 -0.0907)
OKLCHoklch(55.03% 0.206 333.9)
XYZxyz(26.1692, 14.3085, 35.5590)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A2 #30B341
analogous
#8230B3 #B330A2 #B33061
triadic
#B330A2 #A2B330 #30A2B3
tetradic
#B330A2 #B38230 #30B341 #3061B3
square
#B330A2 #B38230 #30B341 #3061B3
split-complementary
#B330A2 #61B330 #30B382
monochromatic
#52164B #832376 #B330A2 #D050BF #DD80D1

Accessibility & contrast

On white

5.44
#B330A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B330A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330A2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A2#FFFFFF#000000##FFFFFF
##B330A21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#5D709F
Tritanopia (blue-blind)
#BB3C66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a2;
/* rgb */ color: rgb(179, 48, 162);
/* oklch */ color: oklch(55.0% 0.206 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd75be',
    500: '#b330a2',
    950: '#000000',
  },
}
SCSS
$custom: #b330a2;
$custom-light: #cd75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a2",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 307.786,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.20591,
    "h": 333.9
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#B330A2
secondary
#79C683
accent
#E15B47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A2

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

Preview Lab → · Contrast checker → · Palette generator →

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