#B02BAD#B02BAD

#B02BAD is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.218 H 329.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B02BAD
RGBrgb(176, 43, 173)
HSLhsl(301, 61%, 43%)
HSVhsv(301, 76%, 69%)
CMYKcmyk(0%, 75.6%, 1.7%, 31%)
CIE-LABlab(44.20, 66.38, -40.44)
CIE-LCHlch(44.20, 77.73, 328.65°)
OKLaboklab(54.78% 0.1867 -0.1119)
OKLCHoklch(54.78% 0.218 329.1)
XYZxyz(26.3110, 13.9770, 40.8391)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BAD #2BB02E
analogous
#702BB0 #B02BAD #B02B6B
triadic
#B02BAD #ADB02B #2BADB0
tetradic
#B02BAD #B0702B #2BB02E #2B6BB0
square
#B02BAD #B0702B #2BB02E #2B6BB0
split-complementary
#B02BAD #6BB02B #2BB070
monochromatic
#4E134C #7F1F7D #B02BAD #D246CF #DE78DC

Accessibility & contrast

On white

5.53
#B02BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02BAD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BAD#FFFFFF#000000##FFFFFF
##B02BAD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DB0
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#B63F6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02bad;
/* rgb */ color: rgb(176, 43, 173);
/* oklch */ color: oklch(54.8% 0.218 329.1);
Tailwind
colors: {
  custom: {
    50: '#cb73c6',
    500: '#b02bad',
    950: '#000000',
  },
}
SCSS
$custom: #b02bad;
$custom-light: #cb73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bad",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 301.353,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.21763,
    "h": 329.1
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#B02BAD
secondary
#71C673
accent
#E44844
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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