#B02CA8#B02CA8

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

Color values

HEX#B02CA8
RGBrgb(176, 44, 168)
HSLhsl(304, 60%, 43%)
HSVhsv(304, 75%, 69%)
CMYKcmyk(0%, 75%, 4.5%, 31%)
CIE-LABlab(44.03, 65.28, -37.74)
CIE-LCHlch(44.03, 75.41, 329.97°)
OKLaboklab(54.57% 0.1858 -0.1041)
OKLCHoklch(54.57% 0.213 330.7)
XYZxyz(25.8730, 13.8607, 38.3509)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA8 #2CB034
analogous
#762CB0 #B02CA8 #B02C66
triadic
#B02CA8 #A8B02C #2CA8B0
tetradic
#B02CA8 #B0762C #2CB034 #2C66B0
square
#B02CA8 #B0762C #2CB034 #2C66B0
split-complementary
#B02CA8 #66B02C #2CB076
monochromatic
#4E144B #7F2079 #B02CA8 #D148C9 #DD79D7

Accessibility & contrast

On white

5.57
#B02CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B02CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA8#FFFFFF#000000##FFFFFF
##B02CA81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#B73D68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca8;
/* rgb */ color: rgb(176, 44, 168);
/* oklch */ color: oklch(54.6% 0.213 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c2',
    500: '#b02ca8',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca8;
$custom-light: #cb74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca8",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 303.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.21293,
    "h": 330.7
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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