#B02DB8#B02DB8

#B02DB8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.224 H 325.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B02DB8
RGBrgb(176, 45, 184)
HSLhsl(297, 61%, 45%)
HSVhsv(297, 76%, 72%)
CMYKcmyk(4.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(45.04, 67.58, -45.59)
CIE-LCHlch(45.04, 81.52, 325.99°)
OKLaboklab(55.58% 0.1846 -0.1269)
OKLCHoklch(55.58% 0.224 325.5)
XYZxyz(27.4940, 14.5694, 46.7022)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB8 #35B82D
analogous
#6B2DB8 #B02DB8 #B82D7A
triadic
#B02DB8 #B8B02D #2DB8B0
tetradic
#B02DB8 #B86B2D #35B82D #2D7AB8
square
#B02DB8 #B86B2D #35B82D #2D7AB8
split-complementary
#B02DB8 #7AB82D #2DB86B
monochromatic
#521556 #812187 #B02DB8 #CC4ED4 #DA80E0

Accessibility & contrast

On white

5.37
#B02DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B02DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB8#FFFFFF#000000##FFFFFF
##B02DB81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#B44671
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02db8;
/* rgb */ color: rgb(176, 45, 184);
/* oklch */ color: oklch(55.6% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc75ce',
    500: '#b02db8',
    950: '#000000',
  },
}
SCSS
$custom: #b02db8;
$custom-light: #cc75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db8",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 296.547,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.22405,
    "h": 325.5
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#B02DB8
secondary
#7DC978
accent
#E4444D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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