#B02CB1#B02CB1

#B02CB1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.220 H 327.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B02CB1
RGBrgb(176, 44, 177)
HSLhsl(300, 60%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0.6%, 75.1%, 0%, 30.6%)
CIE-LABlab(44.53, 66.73, -42.28)
CIE-LCHlch(44.53, 78.99, 327.64°)
OKLaboklab(55.08% 0.1857 -0.1173)
OKLCHoklch(55.08% 0.22 327.7)
XYZxyz(26.7406, 14.2077, 42.9204)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB1 #2DB12C
analogous
#6D2CB1 #B02CB1 #B12C6F
triadic
#B02CB1 #B1B02C #2CB1B0
tetradic
#B02CB1 #B16D2C #2DB12C #2C6FB1
square
#B02CB1 #B16D2C #2DB12C #2C6FB1
split-complementary
#B02CB1 #6FB12C #2CB16D
monochromatic
#4F144F #7F2080 #B02CB1 #D149D2 #DD7ADE

Accessibility & contrast

On white

5.47
#B02CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B02CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB1#FFFFFF#000000##FFFFFF
##B02CB11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085EB5
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#B5426D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02cb1;
/* rgb */ color: rgb(176, 44, 177);
/* oklch */ color: oklch(55.1% 0.220 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c9',
    500: '#b02cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb1;
$custom-light: #cb74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb1",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 299.549,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.21967,
    "h": 327.7
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#B02CB1
secondary
#73C673
accent
#E34446
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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