#B02AB0#B02AB0

#B02AB0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.221 H 328.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B02AB0
RGBrgb(176, 42, 176)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0%, 76.1%, 0%, 31%)
CIE-LABlab(44.27, 67.16, -42.11)
CIE-LCHlch(44.27, 79.27, 327.91°)
OKLaboklab(54.88% 0.1875 -0.1168)
OKLCHoklch(54.88% 0.221 328.1)
XYZxyz(26.5686, 14.0226, 42.3732)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB0 #2AB02A
analogous
#6D2AB0 #B02AB0 #B02A6D
triadic
#B02AB0 #B0B02A #2AB0B0
tetradic
#B02AB0 #B06D2A #2AB02A #2A6DB0
square
#B02AB0 #B06D2A #2AB02A #2A6DB0
split-complementary
#B02AB0 #6DB02A #2AB06D
monochromatic
#4D124D #7F1E7F #B02AB0 #D345D3 #DE76DE

Accessibility & contrast

On white

5.52
#B02AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B02AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AB0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AB0#FFFFFF#000000##FFFFFF
##B02AB01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055EB4
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#B6406C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02ab0;
/* rgb */ color: rgb(176, 42, 176);
/* oklch */ color: oklch(54.9% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc73c8',
    500: '#b02ab0',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab0;
$custom-light: #cc73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab0",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.22085,
    "h": 328.1
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#B02AB0
secondary
#70C670
accent
#E54343
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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