#B02AA8#B02AA8

#B02AA8 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.215 H 330.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B02AA8
RGBrgb(176, 42, 168)
HSLhsl(304, 61%, 43%)
HSVhsv(304, 76%, 69%)
CMYKcmyk(0%, 76.1%, 4.5%, 31%)
CIE-LABlab(43.82, 65.89, -38.07)
CIE-LCHlch(43.82, 76.10, 329.98°)
OKLaboklab(54.42% 0.1875 -0.105)
OKLCHoklch(54.42% 0.215 330.7)
XYZxyz(25.8003, 13.7153, 38.3267)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AA8 #2AB032
analogous
#752AB0 #B02AA8 #B02A65
triadic
#B02AA8 #A8B02A #2AA8B0
tetradic
#B02AA8 #B0752A #2AB032 #2A65B0
square
#B02AA8 #B0752A #2AB032 #2A65B0
split-complementary
#B02AA8 #65B02A #2AB075
monochromatic
#4D124A #7F1E79 #B02AA8 #D345CA #DE76D8

Accessibility & contrast

On white

5.61
#B02AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B02AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AA8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AA8#FFFFFF#000000##FFFFFF
##B02AA81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#B73C68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02aa8;
/* rgb */ color: rgb(176, 42, 168);
/* oklch */ color: oklch(54.4% 0.215 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb73c2',
    500: '#b02aa8',
    950: '#000000',
  },
}
SCSS
$custom: #b02aa8;
$custom-light: #cb73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02aa8",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 303.582,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.21491,
    "h": 330.7
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#B02AA8
secondary
#70C675
accent
#E54D43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B02AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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