#B02BB4#B02BB4

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

Color values

HEX#B02BB4
RGBrgb(176, 43, 180)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(44.60, 67.52, -43.94)
CIE-LCHlch(44.60, 80.56, 326.94°)
OKLaboklab(55.19% 0.1865 -0.1221)
OKLCHoklch(55.19% 0.223 326.8)
XYZxyz(27.0061, 14.2551, 44.5003)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB4 #2FB42B
analogous
#6B2BB4 #B02BB4 #B42B73
triadic
#B02BB4 #B4B02B #2BB4B0
tetradic
#B02BB4 #B46B2B #2FB42B #2B73B4
square
#B02BB4 #B46B2B #2FB42B #2B73B4
split-complementary
#B02BB4 #73B42B #2BB46B
monochromatic
#4F1351 #801F83 #B02BB4 #CF49D3 #DC7ADF

Accessibility & contrast

On white

5.45
#B02BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B02BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BB4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BB4#FFFFFF#000000##FFFFFF
##B02BB41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02bb4;
/* rgb */ color: rgb(176, 43, 180);
/* oklch */ color: oklch(55.2% 0.223 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc74cb',
    500: '#b02bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb4;
$custom-light: #cc74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb4",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 298.248,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.22292,
    "h": 326.8
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#B02BB4
secondary
#76C773
accent
#E54348
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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