#D02BC1#D02BC1

#D02BC1 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.247 H 332.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D02BC1
RGBrgb(208, 43, 193)
HSLhsl(305, 66%, 49%)
HSVhsv(305, 79%, 82%)
CMYKcmyk(0%, 79.3%, 7.2%, 18.4%)
CIE-LABlab(50.68, 76.04, -41.56)
CIE-LCHlch(50.68, 86.65, 331.34°)
OKLaboklab(60.77% 0.2188 -0.1144)
OKLCHoklch(60.77% 0.247 332.4)
XYZxyz(36.5021, 18.9911, 52.1849)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BC1 #2BD03A
analogous
#8D2BD0 #D02BC1 #D02B6E
triadic
#D02BC1 #C1D02B #2BC1D0
tetradic
#D02BC1 #D08D2B #2BD03A #2B6ED0
square
#D02BC1 #D08D2B #2BD03A #2B6ED0
split-complementary
#D02BC1 #6ED02B #2BD08D
monochromatic
#6B1663 #9D2192 #D02BC1 #DD5BD1 #E88EDF

Accessibility & contrast

On white

4.38
#D02BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D02BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BC1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BC1#FFFFFF#000000##000000
##D02BC11.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC5
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#D94076
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02bc1;
/* rgb */ color: rgb(208, 43, 193);
/* oklch */ color: oklch(60.8% 0.247 332.4);
Tailwind
colors: {
  custom: {
    50: '#e379d4',
    500: '#d02bc1',
    950: '#000000',
  },
}
SCSS
$custom: #d02bc1;
$custom-light: #e379d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bc1",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 193
  },
  "hsl": {
    "h": 305.455,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.2469,
    "h": 332.4
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#D02BC1
secondary
#85D28C
accent
#E94F3F
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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