#B02CAC#B02CAC

#B02CAC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.216 H 329.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B02CAC
RGBrgb(176, 44, 172)
HSLhsl(302, 60%, 43%)
HSVhsv(302, 75%, 69%)
CMYKcmyk(0%, 75%, 2.3%, 31%)
CIE-LABlab(44.25, 65.92, -39.77)
CIE-LCHlch(44.25, 76.99, 328.90°)
OKLaboklab(54.8% 0.1858 -0.11)
OKLCHoklch(54.8% 0.216 329.4)
XYZxyz(26.2514, 14.0120, 40.3437)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CAC #2CB030
analogous
#722CB0 #B02CAC #B02C6A
triadic
#B02CAC #ACB02C #2CACB0
tetradic
#B02CAC #B0722C #2CB030 #2C6AB0
square
#B02CAC #B0722C #2CB030 #2C6AB0
split-complementary
#B02CAC #6AB02C #2CB072
monochromatic
#4E144C #7F207C #B02CAC #D148CD #DD79DA

Accessibility & contrast

On white

5.52
#B02CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B02CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CAC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CAC#FFFFFF#000000##FFFFFF
##B02CAC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#B63F6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02cac;
/* rgb */ color: rgb(176, 44, 172);
/* oklch */ color: oklch(54.8% 0.216 329.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c5',
    500: '#b02cac',
    950: '#000000',
  },
}
SCSS
$custom: #b02cac;
$custom-light: #cb74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cac",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 301.818,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.2159,
    "h": 329.4
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#B02CAC
secondary
#72C675
accent
#E34945
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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