#D02BBC#D02BBC

#D02BBC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.244 H 333.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D02BBC
RGBrgb(208, 43, 188)
HSLhsl(307, 66%, 49%)
HSVhsv(307, 79%, 82%)
CMYKcmyk(0%, 79.3%, 9.6%, 18.4%)
CIE-LABlab(50.42, 75.32, -39.06)
CIE-LCHlch(50.42, 84.84, 332.59°)
OKLaboklab(60.5% 0.2187 -0.1072)
OKLCHoklch(60.5% 0.244 333.9)
XYZxyz(35.9538, 18.7717, 49.2969)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BBC #2BD03F
analogous
#922BD0 #D02BBC #D02B69
triadic
#D02BBC #BCD02B #2BBCD0
tetradic
#D02BBC #D0922B #2BD03F #2B69D0
square
#D02BBC #D0922B #2BD03F #2B69D0
split-complementary
#D02BBC #69D02B #2BD092
monochromatic
#6B1660 #9D218E #D02BBC #DD5BCD #E88EDD

Accessibility & contrast

On white

4.42
#D02BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D02BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BBC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BBC#FFFFFF#000000##000000
##D02BBC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#DA3D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02bbc;
/* rgb */ color: rgb(208, 43, 188);
/* oklch */ color: oklch(60.5% 0.244 333.9);
Tailwind
colors: {
  custom: {
    50: '#e378d0',
    500: '#d02bbc',
    950: '#000000',
  },
}
SCSS
$custom: #d02bbc;
$custom-light: #e378d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bbc",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 307.273,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.24354,
    "h": 333.9
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#D02BBC
secondary
#85D28E
accent
#E9543F
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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