#B02CA6#B02CA6

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

Color values

HEX#B02CA6
RGBrgb(176, 44, 166)
HSLhsl(305, 60%, 43%)
HSVhsv(305, 75%, 69%)
CMYKcmyk(0%, 75%, 5.7%, 31%)
CIE-LABlab(43.93, 64.97, -36.72)
CIE-LCHlch(43.93, 74.63, 330.53°)
OKLaboklab(54.46% 0.1857 -0.1011)
OKLCHoklch(54.46% 0.211 331.4)
XYZxyz(25.6881, 13.7867, 37.3772)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA6 #2CB036
analogous
#782CB0 #B02CA6 #B02C64
triadic
#B02CA6 #A6B02C #2CA6B0
tetradic
#B02CA6 #B0782C #2CB036 #2C64B0
square
#B02CA6 #B0782C #2CB036 #2C64B0
split-complementary
#B02CA6 #64B02C #2CB078
monochromatic
#4E144A #7F2078 #B02CA6 #D148C7 #DD79D6

Accessibility & contrast

On white

5.59
#B02CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02CA6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA6#FFFFFF#000000##FFFFFF
##B02CA61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA9
Deuteranopia (green-blind)
#576EA3
Tritanopia (blue-blind)
#B73C67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca6;
/* rgb */ color: rgb(176, 44, 166);
/* oklch */ color: oklch(54.5% 0.211 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb73c1',
    500: '#b02ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca6;
$custom-light: #cb73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca6",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 304.545,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.21146,
    "h": 331.4
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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