#B02AB7#B02AB7

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

Color values

HEX#B02AB7
RGBrgb(176, 42, 183)
HSLhsl(297, 63%, 44%)
HSVhsv(297, 77%, 72%)
CMYKcmyk(3.8%, 77%, 0%, 28.2%)
CIE-LABlab(44.67, 68.31, -45.59)
CIE-LCHlch(44.67, 82.12, 326.28°)
OKLaboklab(55.3% 0.1872 -0.1269)
OKLCHoklch(55.3% 0.226 325.9)
XYZxyz(27.2791, 14.3068, 46.1153)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB7 #31B72A
analogous
#6A2AB7 #B02AB7 #B72A78
triadic
#B02AB7 #B7B02A #2AB7B0
tetradic
#B02AB7 #B76A2A #31B72A #2A78B7
square
#B02AB7 #B76A2A #31B72A #2A78B7
split-complementary
#B02AB7 #78B72A #2AB76A
monochromatic
#501353 #801F85 #B02AB7 #CE49D5 #DC7BE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02AB7#FFFFFF#000000##FFFFFF
##B02AB71.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)
#005FBB
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#B44470
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02ab7;
/* rgb */ color: rgb(176, 42, 183);
/* oklch */ color: oklch(55.3% 0.226 325.9);
Tailwind
colors: {
  custom: {
    50: '#cc73cd',
    500: '#b02ab7',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab7;
$custom-light: #cc73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab7",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 297.021,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.22615,
    "h": 325.9
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#B02AB7
secondary
#78C974
accent
#E6424A
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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