#B02AB3#B02AB3

#B02AB3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.223 H 327.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B02AB3
RGBrgb(176, 42, 179)
HSLhsl(299, 62%, 43%)
HSVhsv(299, 77%, 70%)
CMYKcmyk(1.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(44.44, 67.65, -43.61)
CIE-LCHlch(44.44, 80.49, 327.19°)
OKLaboklab(55.06% 0.1874 -0.1211)
OKLCHoklch(55.06% 0.223 327.1)
XYZxyz(26.8687, 14.1426, 43.9537)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02AB3 #2DB32A
analogous
#6B2AB3 #B02AB3 #B32A71
triadic
#B02AB3 #B3B02A #2AB3B0
tetradic
#B02AB3 #B36B2A #2DB32A #2A71B3
square
#B02AB3 #B36B2A #2DB32A #2A71B3
split-complementary
#B02AB3 #71B32A #2AB36B
monochromatic
#4F1350 #7F1E81 #B02AB3 #D146D4 #DD78DF

Accessibility & contrast

On white

5.49
#B02AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B02AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02AB3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02AB3#FFFFFF#000000##FFFFFF
##B02AB31.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#B5426E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02ab3;
/* rgb */ color: rgb(176, 42, 179);
/* oklch */ color: oklch(55.1% 0.223 327.1);
Tailwind
colors: {
  custom: {
    50: '#cc73ca',
    500: '#b02ab3',
    950: '#000000',
  },
}
SCSS
$custom: #b02ab3;
$custom-light: #cc73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ab3",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 298.686,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.22311,
    "h": 327.1
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#B02AB3
secondary
#73C772
accent
#E54346
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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