#D023D4#D023D4

#D023D4 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.4% C 0.266 H 327.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D023D4
RGBrgb(208, 35, 212)
HSLhsl(299, 72%, 48%)
HSVhsv(299, 83%, 83%)
CMYKcmyk(1.9%, 83.5%, 0%, 16.9%)
CIE-LABlab(51.12, 80.65, -51.81)
CIE-LCHlch(51.12, 95.85, 327.29°)
OKLaboklab(61.42% 0.2233 -0.1441)
OKLCHoklch(61.42% 0.266 327.2)
XYZxyz(38.4965, 19.3683, 63.9855)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D023D4 #27D423
analogous
#7723D4 #D023D4 #D4237F
triadic
#D023D4 #D4D023 #23D4D0
tetradic
#D023D4 #D47723 #27D423 #237FD4
square
#D023D4 #D47723 #27D423 #237FD4
split-complementary
#D023D4 #7FD423 #23D477
monochromatic
#69126B #9C1A9F #D023D4 #DF52E2 #E986EB

Accessibility & contrast

On white

4.31
#D023D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D023D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D023D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D023D4#FFFFFF#000000##000000
##D023D41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#5781D0
Tritanopia (blue-blind)
#D64780
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d023d4;
/* rgb */ color: rgb(208, 35, 212);
/* oklch */ color: oklch(61.4% 0.266 327.2);
Tailwind
colors: {
  custom: {
    50: '#e377e2',
    500: '#d023d4',
    950: '#000000',
  },
}
SCSS
$custom: #d023d4;
$custom-light: #e377e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d023d4",
  "rgb": {
    "r": 208,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 298.644,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.26576,
    "h": 327.2
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#D023D4
secondary
#80D47E
accent
#EE393D
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D023D4

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

Preview Lab → · Contrast checker → · Palette generator →

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