#B02DB5#B02DB5

#B02DB5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.222 H 326.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B02DB5
RGBrgb(176, 45, 181)
HSLhsl(298, 60%, 44%)
HSVhsv(298, 75%, 71%)
CMYKcmyk(2.8%, 75.1%, 0%, 29%)
CIE-LABlab(44.86, 67.08, -44.11)
CIE-LCHlch(44.86, 80.28, 326.67°)
OKLaboklab(55.4% 0.1848 -0.1226)
OKLCHoklch(55.4% 0.222 326.4)
XYZxyz(27.1829, 14.4450, 45.0635)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB5 #32B52D
analogous
#6C2DB5 #B02DB5 #B52D76
triadic
#B02DB5 #B5B02D #2DB5B0
tetradic
#B02DB5 #B56C2D #32B52D #2D76B5
square
#B02DB5 #B56C2D #32B52D #2D76B5
split-complementary
#B02DB5 #76B52D #2DB56C
monochromatic
#511553 #802184 #B02DB5 #CE4DD3 #DB7EDF

Accessibility & contrast

On white

5.40
#B02DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B02DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB5#FFFFFF#000000##FFFFFF
##B02DB51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#B54470
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db5;
/* rgb */ color: rgb(176, 45, 181);
/* oklch */ color: oklch(55.4% 0.222 326.4);
Tailwind
colors: {
  custom: {
    50: '#cc74cc',
    500: '#b02db5',
    950: '#000000',
  },
}
SCSS
$custom: #b02db5;
$custom-light: #cc74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db5",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 297.794,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.22174,
    "h": 326.4
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#B02DB5
secondary
#79C776
accent
#E3444A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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