#B02AB4#B02AB4

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

Color values

HEX#B02AB4
RGBrgb(176, 42, 180)
HSLhsl(298, 62%, 44%)
HSVhsv(298, 77%, 71%)
CMYKcmyk(2.2%, 76.7%, 0%, 29.4%)
CIE-LABlab(44.49, 67.81, -44.11)
CIE-LCHlch(44.49, 80.89, 326.96°)
OKLaboklab(55.12% 0.1873 -0.1226)
OKLCHoklch(55.12% 0.224 326.8)
XYZxyz(26.9702, 14.1832, 44.4883)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB4 #2EB42A
analogous
#6B2AB4 #B02AB4 #B42A73
triadic
#B02AB4 #B4B02A #2AB4B0
tetradic
#B02AB4 #B46B2A #2EB42A #2A73B4
square
#B02AB4 #B46B2A #2EB42A #2A73B4
split-complementary
#B02AB4 #73B42A #2AB46B
monochromatic
#4F1351 #7F1E82 #B02AB4 #D047D4 #DD79E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02AB4#FFFFFF#000000##FFFFFF
##B02AB41.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)
#005FB8
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#B5426E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02ab4;
/* rgb */ color: rgb(176, 42, 180);
/* oklch */ color: oklch(55.1% 0.224 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc73cb',
    500: '#b02ab4',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab4;
$custom-light: #cc73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab4",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 298.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.22386,
    "h": 326.8
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#B02AB4
secondary
#75C872
accent
#E54347
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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