#D03DB8#D03DB8

#D03DB8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.223 H 335.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D03DB8
RGBrgb(208, 61, 184)
HSLhsl(310, 61%, 53%)
HSVhsv(310, 71%, 82%)
CMYKcmyk(0%, 70.7%, 11.5%, 18.4%)
CIE-LABlab(52.08, 69.45, -34.13)
CIE-LCHlch(52.08, 77.38, 333.83°)
OKLaboklab(61.63% 0.2028 -0.0931)
OKLCHoklch(61.63% 0.223 335.3)
XYZxyz(36.3333, 20.2113, 47.3257)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03DB8 #3DD055
analogous
#9F3DD0 #D03DB8 #D03D6E
triadic
#D03DB8 #B8D03D #3DB8D0
tetradic
#D03DB8 #D09F3D #3DD055 #3D6ED0
square
#D03DB8 #D09F3D #3DD055 #3D6ED0
split-complementary
#D03DB8 #6ED03D #3DD09F
monochromatic
#761D67 #A72993 #D03DB8 #DC6ECA #E8A0DC

Accessibility & contrast

On white

4.17
#D03DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D03DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03DB8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03DB8#FFFFFF#000000##000000
##D03DB81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#DA4876
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d03db8;
/* rgb */ color: rgb(208, 61, 184);
/* oklch */ color: oklch(61.6% 0.223 335.3);
Tailwind
colors: {
  custom: {
    50: '#e27fcd',
    500: '#d03db8',
    950: '#000000',
  },
}
SCSS
$custom: #d03db8;
$custom-light: #e27fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#d03db8",
  "rgb": {
    "r": 208,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 309.796,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.22315,
    "h": 335.3
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#D03DB8
secondary
#95D49F
accent
#E45E44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D03DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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