#B02A9B#B02A9B

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

Color values

HEX#B02A9B
RGBrgb(176, 42, 155)
HSLhsl(309, 61%, 43%)
HSVhsv(309, 76%, 69%)
CMYKcmyk(0%, 76.1%, 11.9%, 31%)
CIE-LABlab(43.14, 63.92, -31.36)
CIE-LCHlch(43.14, 71.20, 333.86°)
OKLaboklab(53.71% 0.1869 -0.0857)
OKLCHoklch(53.71% 0.206 335.4)
XYZxyz(24.6492, 13.2548, 32.2642)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A9B #2AB03F
analogous
#822AB0 #B02A9B #B02A58
triadic
#B02A9B #9BB02A #2A9BB0
tetradic
#B02A9B #B0822A #2AB03F #2A58B0
square
#B02A9B #B0822A #2AB03F #2A58B0
split-complementary
#B02A9B #58B02A #2AB082
monochromatic
#4D1244 #7F1E6F #B02A9B #D345BC #DE76CE

Accessibility & contrast

On white

5.75
#B02A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B02A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A9B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A9B#FFFFFF#000000##FFFFFF
##B02A9B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#B93560
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02a9b;
/* rgb */ color: rgb(176, 42, 155);
/* oklch */ color: oklch(53.7% 0.206 335.4);
Tailwind
colors: {
  custom: {
    50: '#cb72b9',
    500: '#b02a9b',
    950: '#000000',
  },
}
SCSS
$custom: #b02a9b;
$custom-light: #cb72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a9b",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 309.403,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.20563,
    "h": 335.4
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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