#B02CB4#B02CB4

#B02CB4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.222 H 326.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B02CB4
RGBrgb(176, 44, 180)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.2%, 75.6%, 0%, 29.4%)
CIE-LABlab(44.70, 67.22, -43.78)
CIE-LCHlch(44.70, 80.22, 326.92°)
OKLaboklab(55.26% 0.1857 -0.1216)
OKLCHoklch(55.26% 0.222 326.8)
XYZxyz(27.0429, 14.3287, 44.5125)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB4 #30B42C
analogous
#6C2CB4 #B02CB4 #B42C74
triadic
#B02CB4 #B4B02C #2CB4B0
tetradic
#B02CB4 #B46C2C #30B42C #2C74B4
square
#B02CB4 #B46C2C #30B42C #2C74B4
split-complementary
#B02CB4 #74B42C #2CB46C
monochromatic
#501452 #802083 #B02CB4 #CF4AD3 #DC7CDF

Accessibility & contrast

On white

5.43
#B02CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B02CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB4#FFFFFF#000000##FFFFFF
##B02CB41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#B5436F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02cb4;
/* rgb */ color: rgb(176, 44, 180);
/* oklch */ color: oklch(55.3% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc74cb',
    500: '#b02cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb4;
$custom-light: #cc74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb4",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 298.235,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.22196,
    "h": 326.8
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#B02CB4
secondary
#77C775
accent
#E44449
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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