#B02CB3#B02CB3

#B02CB3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.221 H 327.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B02CB3
RGBrgb(176, 44, 179)
HSLhsl(299, 61%, 44%)
HSVhsv(299, 75%, 70%)
CMYKcmyk(1.7%, 75.4%, 0%, 29.8%)
CIE-LABlab(44.64, 67.05, -43.28)
CIE-LCHlch(44.64, 79.81, 327.16°)
OKLaboklab(55.2% 0.1857 -0.1202)
OKLCHoklch(55.2% 0.221 327.1)
XYZxyz(26.9414, 14.2881, 43.9780)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB3 #2FB32C
analogous
#6C2CB3 #B02CB3 #B32C72
triadic
#B02CB3 #B3B02C #2CB3B0
tetradic
#B02CB3 #B36C2C #2FB32C #2C72B3
square
#B02CB3 #B36C2C #2FB32C #2C72B3
split-complementary
#B02CB3 #72B32C #2CB36C
monochromatic
#4F1451 #802082 #B02CB3 #CF4AD2 #DC7BDF

Accessibility & contrast

On white

5.44
#B02CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B02CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB3#FFFFFF#000000##FFFFFF
##B02CB31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#B5436E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02cb3;
/* rgb */ color: rgb(176, 44, 179);
/* oklch */ color: oklch(55.2% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#cc74ca',
    500: '#b02cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb3;
$custom-light: #cc74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb3",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 298.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.22119,
    "h": 327.1
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#B02CB3
secondary
#76C774
accent
#E44448
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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