#D03FB8#D03FB8

#D03FB8 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.221 H 335.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D03FB8
RGBrgb(208, 63, 184)
HSLhsl(310, 61%, 53%)
HSVhsv(310, 70%, 82%)
CMYKcmyk(0%, 69.7%, 11.5%, 18.4%)
CIE-LABlab(52.32, 68.76, -33.75)
CIE-LCHlch(52.32, 76.60, 333.86°)
OKLaboklab(61.81% 0.2008 -0.0921)
OKLCHoklch(61.81% 0.221 335.4)
XYZxyz(36.4421, 20.4288, 47.3620)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FB8 #3FD057
analogous
#9F3FD0 #D03FB8 #D03F6F
triadic
#D03FB8 #B8D03F #3FB8D0
tetradic
#D03FB8 #D09F3F #3FD057 #3F6FD0
square
#D03FB8 #D09F3F #3FD057 #3F6FD0
split-complementary
#D03FB8 #6FD03F #3FD09F
monochromatic
#771D68 #A92993 #D03FB8 #DC70CA #E8A1DC

Accessibility & contrast

On white

4.13
#D03FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D03FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FB8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FB8#FFFFFF#000000##000000
##D03FB81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#7185B4
Tritanopia (blue-blind)
#DA4A77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d03fb8;
/* rgb */ color: rgb(208, 63, 184);
/* oklch */ color: oklch(61.8% 0.221 335.4);
Tailwind
colors: {
  custom: {
    50: '#e280cd',
    500: '#d03fb8',
    950: '#000000',
  },
}
SCSS
$custom: #d03fb8;
$custom-light: #e280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fb8",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 309.931,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.22086,
    "h": 335.4
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#D03FB8
secondary
#96D5A0
accent
#E45E44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D03FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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