#B02A9C#B02A9C

#B02A9C is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.206 H 335.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B02A9C
RGBrgb(176, 42, 156)
HSLhsl(309, 61%, 43%)
HSVhsv(309, 76%, 69%)
CMYKcmyk(0%, 76.1%, 11.4%, 31%)
CIE-LABlab(43.19, 64.07, -31.89)
CIE-LCHlch(43.19, 71.56, 333.54°)
OKLaboklab(53.77% 0.187 -0.0872)
OKLCHoklch(53.77% 0.206 335)
XYZxyz(24.7335, 13.2886, 32.7084)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A9C #2AB03E
analogous
#812AB0 #B02A9C #B02A59
triadic
#B02A9C #9CB02A #2A9CB0
tetradic
#B02A9C #B0812A #2AB03E #2A59B0
square
#B02A9C #B0812A #2AB03E #2A59B0
split-complementary
#B02A9C #59B02A #2AB081
monochromatic
#4D1244 #7F1E70 #B02A9C #D345BD #DE76CF

Accessibility & contrast

On white

5.74
#B02A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B02A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A9C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A9C#FFFFFF#000000##FFFFFF
##B02A9C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#B93661
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02a9c;
/* rgb */ color: rgb(176, 42, 156);
/* oklch */ color: oklch(53.8% 0.206 335.0);
Tailwind
colors: {
  custom: {
    50: '#cb72b9',
    500: '#b02a9c',
    950: '#000000',
  },
}
SCSS
$custom: #b02a9c;
$custom-light: #cb72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a9c",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 308.955,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.20632,
    "h": 335
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#B02A9C
secondary
#70C67D
accent
#E55B43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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