#B02AB5#B02AB5

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

Color values

HEX#B02AB5
RGBrgb(176, 42, 181)
HSLhsl(298, 62%, 44%)
HSVhsv(298, 77%, 71%)
CMYKcmyk(2.8%, 76.8%, 0%, 29%)
CIE-LABlab(44.55, 67.98, -44.60)
CIE-LCHlch(44.55, 81.30, 326.73°)
OKLaboklab(55.18% 0.1873 -0.124)
OKLCHoklch(55.18% 0.225 326.5)
XYZxyz(27.0725, 14.2241, 45.0267)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB5 #2FB52A
analogous
#6A2AB5 #B02AB5 #B52A74
triadic
#B02AB5 #B5B02A #2AB5B0
tetradic
#B02AB5 #B56A2A #2FB52A #2A74B5
square
#B02AB5 #B56A2A #2FB52A #2A74B5
split-complementary
#B02AB5 #74B52A #2AB56A
monochromatic
#4F1352 #801E83 #B02AB5 #CF48D4 #DC79E0

Accessibility & contrast

On white

5.46
#B02AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02AB5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AB5#FFFFFF#000000##FFFFFF
##B02AB51.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02ab5;
/* rgb */ color: rgb(176, 42, 181);
/* oklch */ color: oklch(55.2% 0.225 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc73cc',
    500: '#b02ab5',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab5;
$custom-light: #cc73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab5",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 297.842,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.22462,
    "h": 326.5
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#B02AB5
secondary
#76C873
accent
#E54248
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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