#B02AB8#B02AB8

#B02AB8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.227 H 325.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B02AB8
RGBrgb(176, 42, 184)
HSLhsl(297, 63%, 44%)
HSVhsv(297, 77%, 72%)
CMYKcmyk(4.3%, 77.2%, 0%, 27.8%)
CIE-LABlab(44.73, 68.47, -46.09)
CIE-LCHlch(44.73, 82.54, 326.06°)
OKLaboklab(55.36% 0.1871 -0.1283)
OKLCHoklch(55.36% 0.227 325.6)
XYZxyz(27.3836, 14.3486, 46.6654)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB8 #32B82A
analogous
#692AB8 #B02AB8 #B82A79
triadic
#B02AB8 #B8B02A #2AB8B0
tetradic
#B02AB8 #B8692A #32B82A #2A79B8
square
#B02AB8 #B8692A #32B82A #2A79B8
split-complementary
#B02AB8 #79B82A #2AB869
monochromatic
#511354 #801F86 #B02AB8 #CE4AD6 #DB7BE1

Accessibility & contrast

On white

5.43
#B02AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B02AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AB8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AB8#FFFFFF#000000##FFFFFF
##B02AB81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#4B6FB5
Tritanopia (blue-blind)
#B44471
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02ab8;
/* rgb */ color: rgb(176, 42, 184);
/* oklch */ color: oklch(55.4% 0.227 325.6);
Tailwind
colors: {
  custom: {
    50: '#cc73ce',
    500: '#b02ab8',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab8;
$custom-light: #cc73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab8",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 296.62,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.22691,
    "h": 325.6
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#B02AB8
secondary
#79C975
accent
#E6424B
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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