#B02BAB#B02BAB

#B02BAB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 329.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B02BAB
RGBrgb(176, 43, 171)
HSLhsl(302, 61%, 43%)
HSVhsv(302, 76%, 69%)
CMYKcmyk(0%, 75.6%, 2.8%, 31%)
CIE-LABlab(44.09, 66.06, -39.43)
CIE-LCHlch(44.09, 76.94, 329.17°)
OKLaboklab(54.66% 0.1867 -0.109)
OKLCHoklch(54.66% 0.216 329.7)
XYZxyz(26.1189, 13.9002, 39.8275)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BAB #2BB030
analogous
#732BB0 #B02BAB #B02B68
triadic
#B02BAB #ABB02B #2BABB0
tetradic
#B02BAB #B0732B #2BB030 #2B68B0
square
#B02BAB #B0732B #2BB030 #2B68B0
split-complementary
#B02BAB #68B02B #2BB073
monochromatic
#4E134B #7F1F7B #B02BAB #D246CD #DE78DA

Accessibility & contrast

On white

5.56
#B02BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B02BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BAB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BAB#FFFFFF#000000##FFFFFF
##B02BAB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#B63E69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02bab;
/* rgb */ color: rgb(176, 43, 171);
/* oklch */ color: oklch(54.7% 0.216 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb73c4',
    500: '#b02bab',
    950: '#000000',
  },
}
SCSS
$custom: #b02bab;
$custom-light: #cb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bab",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 302.256,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.21615,
    "h": 329.7
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#B02BAB
secondary
#71C674
accent
#E44A44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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