#B02BB5#B02BB5

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

Color values

HEX#B02BB5
RGBrgb(176, 43, 181)
HSLhsl(298, 62%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.8%, 76.2%, 0%, 29%)
CIE-LABlab(44.65, 67.68, -44.44)
CIE-LCHlch(44.65, 80.97, 326.71°)
OKLaboklab(55.25% 0.1865 -0.1236)
OKLCHoklch(55.25% 0.224 326.5)
XYZxyz(27.1084, 14.2960, 45.0387)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BB5 #30B52B
analogous
#6B2BB5 #B02BB5 #B52B75
triadic
#B02BB5 #B5B02B #2BB5B0
tetradic
#B02BB5 #B56B2B #30B52B #2B75B5
square
#B02BB5 #B56B2B #30B52B #2B75B5
split-complementary
#B02BB5 #75B52B #2BB56B
monochromatic
#501452 #801F84 #B02BB5 #CF49D4 #DC7BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02BB5#FFFFFF#000000##FFFFFF
##B02BB51.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)
#005FB9
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#B5436F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02bb5;
/* rgb */ color: rgb(176, 43, 181);
/* oklch */ color: oklch(55.2% 0.224 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc74cc',
    500: '#b02bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b02bb5;
$custom-light: #cc74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bb5",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 297.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.22368,
    "h": 326.5
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#B02BB5
secondary
#77C874
accent
#E54349
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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