#B02AB2#B02AB2

#B02AB2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.222 H 327.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B02AB2
RGBrgb(176, 42, 178)
HSLhsl(299, 62%, 43%)
HSVhsv(299, 76%, 70%)
CMYKcmyk(1.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(44.38, 67.48, -43.11)
CIE-LCHlch(44.38, 80.08, 327.43°)
OKLaboklab(55% 0.1874 -0.1197)
OKLCHoklch(55% 0.222 327.4)
XYZxyz(26.7680, 14.1023, 43.4230)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB2 #2CB22A
analogous
#6C2AB2 #B02AB2 #B22A70
triadic
#B02AB2 #B2B02A #2AB2B0
tetradic
#B02AB2 #B26C2A #2CB22A #2A70B2
square
#B02AB2 #B26C2A #2CB22A #2A70B2
split-complementary
#B02AB2 #70B22A #2AB26C
monochromatic
#4E134F #7F1E80 #B02AB2 #D146D3 #DD77DF

Accessibility & contrast

On white

5.50
#B02AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B02AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AB2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AB2#FFFFFF#000000##FFFFFF
##B02AB21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#B5416D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02ab2;
/* rgb */ color: rgb(176, 42, 178);
/* oklch */ color: oklch(55.0% 0.222 327.4);
Tailwind
colors: {
  custom: {
    50: '#cc73c9',
    500: '#b02ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab2;
$custom-light: #cc73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab2",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 299.118,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.22235,
    "h": 327.4
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#B02AB2
secondary
#72C771
accent
#E54345
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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