#B02DB1#B02DB1

#B02DB1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.219 H 327.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B02DB1
RGBrgb(176, 45, 177)
HSLhsl(300, 59%, 44%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0.6%, 74.6%, 0%, 30.6%)
CIE-LABlab(44.64, 66.42, -42.11)
CIE-LCHlch(44.64, 78.64, 327.62°)
OKLaboklab(55.16% 0.1849 -0.1168)
OKLCHoklch(55.16% 0.219 327.7)
XYZxyz(26.7783, 14.2831, 42.9330)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB1 #2EB12D
analogous
#6E2DB1 #B02DB1 #B12D70
triadic
#B02DB1 #B1B02D #2DB1B0
tetradic
#B02DB1 #B16E2D #2EB12D #2D70B1
square
#B02DB1 #B16E2D #2EB12D #2D70B1
split-complementary
#B02DB1 #70B12D #2DB16E
monochromatic
#4F144F #7F2180 #B02DB1 #D04AD1 #DD7BDD

Accessibility & contrast

On white

5.45
#B02DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B02DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB1#FFFFFF#000000##FFFFFF
##B02DB11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB5
Deuteranopia (green-blind)
#516FAE
Tritanopia (blue-blind)
#B5426D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db1;
/* rgb */ color: rgb(176, 45, 177);
/* oklch */ color: oklch(55.2% 0.219 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c9',
    500: '#b02db1',
    950: '#000000',
  },
}
SCSS
$custom: #b02db1;
$custom-light: #cb74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db1",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 299.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.21867,
    "h": 327.7
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#B02DB1
secondary
#75C674
accent
#E34546
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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