#B02DB6#B02DB6

#B02DB6 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.223 H 326.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B02DB6
RGBrgb(176, 45, 182)
HSLhsl(297, 60%, 45%)
HSVhsv(297, 75%, 71%)
CMYKcmyk(3.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(44.92, 67.24, -44.60)
CIE-LCHlch(44.92, 80.69, 326.44°)
OKLaboklab(55.46% 0.1847 -0.124)
OKLCHoklch(55.46% 0.223 326.1)
XYZxyz(27.2858, 14.4861, 45.6058)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB6 #33B62D
analogous
#6B2DB6 #B02DB6 #B62D78
triadic
#B02DB6 #B6B02D #2DB6B0
tetradic
#B02DB6 #B66B2D #33B62D #2D78B6
square
#B02DB6 #B66B2D #33B62D #2D78B6
split-complementary
#B02DB6 #78B62D #2DB66B
monochromatic
#511554 #812185 #B02DB6 #CD4DD3 #DB7EDF

Accessibility & contrast

On white

5.39
#B02DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B02DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB6#FFFFFF#000000##FFFFFF
##B02DB61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#B54570
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db6;
/* rgb */ color: rgb(176, 45, 182);
/* oklch */ color: oklch(55.5% 0.223 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc75cc',
    500: '#b02db6',
    950: '#000000',
  },
}
SCSS
$custom: #b02db6;
$custom-light: #cc75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db6",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 297.372,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.22251,
    "h": 326.1
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#B02DB6
secondary
#7BC877
accent
#E3444B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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