#B02CA5#B02CA5

#B02CA5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.211 H 331.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B02CA5
RGBrgb(176, 44, 165)
HSLhsl(305, 60%, 43%)
HSVhsv(305, 75%, 69%)
CMYKcmyk(0%, 75%, 6.2%, 31%)
CIE-LABlab(43.87, 64.82, -36.21)
CIE-LCHlch(43.87, 74.24, 330.81°)
OKLaboklab(54.4% 0.1857 -0.0997)
OKLCHoklch(54.4% 0.211 331.8)
XYZxyz(25.5967, 13.7502, 36.8959)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA5 #2CB037
analogous
#792CB0 #B02CA5 #B02C63
triadic
#B02CA5 #A5B02C #2CA5B0
tetradic
#B02CA5 #B0792C #2CB037 #2C63B0
square
#B02CA5 #B0792C #2CB037 #2C63B0
split-complementary
#B02CA5 #63B02C #2CB079
monochromatic
#4E1449 #7F2077 #B02CA5 #D148C6 #DD79D5

Accessibility & contrast

On white

5.60
#B02CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B02CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA5#FFFFFF#000000##FFFFFF
##B02CA51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#B73C66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca5;
/* rgb */ color: rgb(176, 44, 165);
/* oklch */ color: oklch(54.4% 0.211 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb73c0',
    500: '#b02ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca5;
$custom-light: #cb73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca5",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.21073,
    "h": 331.8
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#B02CA5
secondary
#72C679
accent
#E35245
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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