#B02CA4#B02CA4

#B02CA4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.210 H 332.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B02CA4
RGBrgb(176, 44, 164)
HSLhsl(305, 60%, 43%)
HSVhsv(305, 75%, 69%)
CMYKcmyk(0%, 75%, 6.8%, 31%)
CIE-LABlab(43.82, 64.66, -35.69)
CIE-LCHlch(43.82, 73.86, 331.10°)
OKLaboklab(54.35% 0.1856 -0.0982)
OKLCHoklch(54.35% 0.21 332.1)
XYZxyz(25.5061, 13.7139, 36.4185)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA4 #2CB038
analogous
#7A2CB0 #B02CA4 #B02C62
triadic
#B02CA4 #A4B02C #2CA4B0
tetradic
#B02CA4 #B07A2C #2CB038 #2C62B0
square
#B02CA4 #B07A2C #2CB038 #2C62B0
split-complementary
#B02CA4 #62B02C #2CB07A
monochromatic
#4E1449 #7F2076 #B02CA4 #D148C5 #DD79D4

Accessibility & contrast

On white

5.61
#B02CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B02CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA4#FFFFFF#000000##FFFFFF
##B02CA41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#B83B66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02ca4;
/* rgb */ color: rgb(176, 44, 164);
/* oklch */ color: oklch(54.3% 0.210 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb73bf',
    500: '#b02ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca4;
$custom-light: #cb73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca4",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 305.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.20999,
    "h": 332.1
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#B02CA4
secondary
#72C67A
accent
#E35345
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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