#D03EC2#D03EC2

#D03EC2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.2% C 0.229 H 332.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D03EC2
RGBrgb(208, 62, 194)
HSLhsl(306, 61%, 53%)
HSVhsv(306, 70%, 82%)
CMYKcmyk(0%, 70.2%, 6.7%, 18.4%)
CIE-LABlab(52.68, 70.60, -38.98)
CIE-LCHlch(52.68, 80.65, 331.10°)
OKLaboklab(62.22% 0.2026 -0.1071)
OKLCHoklch(62.22% 0.229 332.1)
XYZxyz(37.4727, 20.7532, 53.0606)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03EC2 #3ED04C
analogous
#953ED0 #D03EC2 #D03E79
triadic
#D03EC2 #C2D03E #3EC2D0
tetradic
#D03EC2 #D0953E #3ED04C #3E79D0
square
#D03EC2 #D0953E #3ED04C #3E79D0
split-complementary
#D03EC2 #79D03E #3ED095
monochromatic
#771D6E #A8299C #D03EC2 #DC6FD2 #E8A0E1

Accessibility & contrast

On white

4.08
#D03EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D03EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03EC2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03EC2#FFFFFF#000000##000000
##D03EC21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3571C6
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#D94D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d03ec2;
/* rgb */ color: rgb(208, 62, 194);
/* oklch */ color: oklch(62.2% 0.229 332.1);
Tailwind
colors: {
  custom: {
    50: '#e280d5',
    500: '#d03ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d03ec2;
$custom-light: #e280d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d03ec2",
  "rgb": {
    "r": 208,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 305.753,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.22913,
    "h": 332.1
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#D03EC2
secondary
#95D49B
accent
#E45344
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D03EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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