#B02CA9#B02CA9

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

Color values

HEX#B02CA9
RGBrgb(176, 44, 169)
HSLhsl(303, 60%, 43%)
HSVhsv(303, 75%, 69%)
CMYKcmyk(0%, 75%, 4%, 31%)
CIE-LABlab(44.09, 65.44, -38.25)
CIE-LCHlch(44.09, 75.80, 329.70°)
OKLaboklab(54.63% 0.1858 -0.1056)
OKLCHoklch(54.63% 0.214 330.4)
XYZxyz(25.9665, 13.8981, 38.8434)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA9 #2CB033
analogous
#752CB0 #B02CA9 #B02C67
triadic
#B02CA9 #A9B02C #2CA9B0
tetradic
#B02CA9 #B0752C #2CB033 #2C67B0
square
#B02CA9 #B0752C #2CB033 #2C67B0
split-complementary
#B02CA9 #67B02C #2CB075
monochromatic
#4E144B #7F207A #B02CA9 #D148CA #DD79D8

Accessibility & contrast

On white

5.56
#B02CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B02CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA9#FFFFFF#000000##FFFFFF
##B02CA91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#556EA6
Tritanopia (blue-blind)
#B73E69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca9;
/* rgb */ color: rgb(176, 44, 169);
/* oklch */ color: oklch(54.6% 0.214 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c3',
    500: '#b02ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca9;
$custom-light: #cb74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca9",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 303.182,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.21367,
    "h": 330.4
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#B02CA9
secondary
#72C677
accent
#E34D45
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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