#B02CA7#B02CA7

#B02CA7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.212 H 331.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B02CA7
RGBrgb(176, 44, 167)
HSLhsl(304, 60%, 43%)
HSVhsv(304, 75%, 69%)
CMYKcmyk(0%, 75%, 5.1%, 31%)
CIE-LABlab(43.98, 65.13, -37.23)
CIE-LCHlch(43.98, 75.02, 330.25°)
OKLaboklab(54.51% 0.1857 -0.1026)
OKLCHoklch(54.51% 0.212 331.1)
XYZxyz(25.7802, 13.8236, 37.8621)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA7 #2CB035
analogous
#772CB0 #B02CA7 #B02C65
triadic
#B02CA7 #A7B02C #2CA7B0
tetradic
#B02CA7 #B0772C #2CB035 #2C65B0
square
#B02CA7 #B0772C #2CB035 #2C65B0
split-complementary
#B02CA7 #65B02C #2CB077
monochromatic
#4E144A #7F2079 #B02CA7 #D148C8 #DD79D7

Accessibility & contrast

On white

5.58
#B02CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B02CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA7#FFFFFF#000000##FFFFFF
##B02CA71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CAA
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#B73D67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca7;
/* rgb */ color: rgb(176, 44, 167);
/* oklch */ color: oklch(54.5% 0.212 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb74c1',
    500: '#b02ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca7;
$custom-light: #cb74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca7",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 304.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.21219,
    "h": 331.1
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#B02CA7
secondary
#72C678
accent
#E34F45
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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