#D02BC4#D02BC4

#D02BC4 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.9% C 0.249 H 331.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D02BC4
RGBrgb(208, 43, 196)
HSLhsl(304, 66%, 49%)
HSVhsv(304, 79%, 82%)
CMYKcmyk(0%, 79.3%, 5.8%, 18.4%)
CIE-LABlab(50.83, 76.48, -43.04)
CIE-LCHlch(50.83, 87.76, 330.63°)
OKLaboklab(60.93% 0.2188 -0.1187)
OKLCHoklch(60.93% 0.249 331.5)
XYZxyz(36.8402, 19.1263, 53.9653)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BC4 #2BD037
analogous
#8A2BD0 #D02BC4 #D02B71
triadic
#D02BC4 #C4D02B #2BC4D0
tetradic
#D02BC4 #D08A2B #2BD037 #2B71D0
square
#D02BC4 #D08A2B #2BD037 #2B71D0
split-complementary
#D02BC4 #71D02B #2BD08A
monochromatic
#6B1664 #9D2194 #D02BC4 #DD5BD4 #E88EE1

Accessibility & contrast

On white

4.35
#D02BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D02BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BC4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BC4#FFFFFF#000000##000000
##D02BC41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#176BC8
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#D94278
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02bc4;
/* rgb */ color: rgb(208, 43, 196);
/* oklch */ color: oklch(60.9% 0.249 331.5);
Tailwind
colors: {
  custom: {
    50: '#e379d6',
    500: '#d02bc4',
    950: '#000000',
  },
}
SCSS
$custom: #d02bc4;
$custom-light: #e379d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bc4",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 304.364,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.24895,
    "h": 331.5
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#D02BC4
secondary
#85D28B
accent
#E94B3F
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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