#D03FD2#D03FD2

#D03FD2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.2% C 0.240 H 327.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D03FD2
RGBrgb(208, 63, 210)
HSLhsl(299, 62%, 54%)
HSVhsv(299, 70%, 82%)
CMYKcmyk(1%, 70%, 0%, 17.6%)
CIE-LABlab(53.62, 72.79, -46.67)
CIE-LCHlch(53.62, 86.46, 327.33°)
OKLaboklab(63.17% 0.2021 -0.1293)
OKLCHoklch(63.17% 0.24 327.4)
XYZxyz(39.4222, 21.6208, 63.0571)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FD2 #41D23F
analogous
#863FD2 #D03FD2 #D23F8A
triadic
#D03FD2 #D2D03F #3FD2D0
tetradic
#D03FD2 #D2863F #41D23F #3F8AD2
square
#D03FD2 #D2863F #41D23F #3F8AD2
split-complementary
#D03FD2 #8AD23F #3FD286
monochromatic
#791D7A #AA28AC #D03FD2 #DC71DE #E8A2E9

Accessibility & contrast

On white

3.94
#D03FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D03FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FD2#FFFFFF#000000##000000
##D03FD21.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#6487CE
Tritanopia (blue-blind)
#D65585
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d03fd2;
/* rgb */ color: rgb(208, 63, 210);
/* oklch */ color: oklch(63.2% 0.240 327.4);
Tailwind
colors: {
  custom: {
    50: '#e281e0',
    500: '#d03fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d03fd2;
$custom-light: #e281e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fd2",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 299.184,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.23997,
    "h": 327.4
  },
  "luminance": 0.21618
}

Semantic roles & 50–950 ramp

primary
#D03FD2
secondary
#98D697
accent
#E54345
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D03FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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