#B02AAC#B02AAC

#B02AAC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.218 H 329.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B02AAC
RGBrgb(176, 42, 172)
HSLhsl(302, 61%, 43%)
HSVhsv(302, 76%, 69%)
CMYKcmyk(0%, 76.1%, 2.3%, 31%)
CIE-LABlab(44.04, 66.52, -40.10)
CIE-LCHlch(44.04, 77.67, 328.92°)
OKLaboklab(54.65% 0.1875 -0.1109)
OKLCHoklch(54.65% 0.218 329.4)
XYZxyz(26.1787, 13.8666, 40.3195)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AAC #2AB02E
analogous
#712AB0 #B02AAC #B02A69
triadic
#B02AAC #ACB02A #2AACB0
tetradic
#B02AAC #B0712A #2AB02E #2A69B0
square
#B02AAC #B0712A #2AB02E #2A69B0
split-complementary
#B02AAC #69B02A #2AB071
monochromatic
#4D124B #7F1E7C #B02AAC #D345CE #DE76DB

Accessibility & contrast

On white

5.57
#B02AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B02AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AAC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AAC#FFFFFF#000000##FFFFFF
##B02AAC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DAF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#B63E6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02aac;
/* rgb */ color: rgb(176, 42, 172);
/* oklch */ color: oklch(54.6% 0.218 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc73c5',
    500: '#b02aac',
    950: '#000000',
  },
}
SCSS
$custom: #b02aac;
$custom-light: #cc73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aac",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 301.791,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54647,
    "c": 0.21787,
    "h": 329.4
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#B02AAC
secondary
#70C672
accent
#E54843
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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