#D03EC5#D03EC5

#D03EC5 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.4% C 0.231 H 331.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D03EC5
RGBrgb(208, 62, 197)
HSLhsl(305, 61%, 53%)
HSVhsv(305, 70%, 82%)
CMYKcmyk(0%, 70.2%, 5.3%, 18.4%)
CIE-LABlab(52.83, 71.06, -40.47)
CIE-LCHlch(52.83, 81.78, 330.34°)
OKLaboklab(62.38% 0.2028 -0.1114)
OKLCHoklch(62.38% 0.231 331.2)
XYZxyz(37.8130, 20.8893, 54.8530)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03EC5 #3ED049
analogous
#923ED0 #D03EC5 #D03E7C
triadic
#D03EC5 #C5D03E #3EC5D0
tetradic
#D03EC5 #D0923E #3ED049 #3E7CD0
square
#D03EC5 #D0923E #3ED049 #3E7CD0
split-complementary
#D03EC5 #7CD03E #3ED092
monochromatic
#771D70 #A8299E #D03EC5 #DC6FD4 #E8A0E3

Accessibility & contrast

On white

4.06
#D03EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D03EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03EC5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03EC5#FFFFFF#000000##000000
##D03EC51.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271C9
Deuteranopia (green-blind)
#6B85C1
Tritanopia (blue-blind)
#D84F7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d03ec5;
/* rgb */ color: rgb(208, 62, 197);
/* oklch */ color: oklch(62.4% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#e280d7',
    500: '#d03ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d03ec5;
$custom-light: #e280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d03ec5",
  "rgb": {
    "r": 208,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 304.521,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.23133,
    "h": 331.2
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#D03EC5
secondary
#95D49A
accent
#E45044
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D03EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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