#D04CD3#D04CD3

#D04CD3 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.225 H 326.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D04CD3
RGBrgb(208, 76, 211)
HSLhsl(299, 61%, 56%)
HSVhsv(299, 64%, 83%)
CMYKcmyk(1.4%, 64%, 0%, 17.3%)
CIE-LABlab(55.36, 68.19, -44.48)
CIE-LCHlch(55.36, 81.42, 326.89°)
OKLaboklab(64.44% 0.1888 -0.1231)
OKLCHoklch(64.44% 0.225 326.9)
XYZxyz(40.3541, 23.2846, 63.9843)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD3 #4FD34C
analogous
#8D4CD3 #D04CD3 #D34C93
triadic
#D04CD3 #D3D04C #4CD3D0
tetradic
#D04CD3 #D38D4C #4FD34C #4C93D3
square
#D04CD3 #D38D4C #4FD34C #4C93D3
split-complementary
#D04CD3 #93D34C #4CD38D
monochromatic
#822084 #B22DB5 #D04CD3 #DD7DDF #EAAEEB

Accessibility & contrast

On white

3.71
#D04CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D04CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD3#FFFFFF#000000##000000
##D04CD31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD7
Deuteranopia (green-blind)
#6A8ACF
Tritanopia (blue-blind)
#D65F89
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd3;
/* rgb */ color: rgb(208, 76, 211);
/* oklch */ color: oklch(64.4% 0.225 326.9);
Tailwind
colors: {
  custom: {
    50: '#e287e1',
    500: '#d04cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd3;
$custom-light: #e287e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd3",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 298.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64438,
    "c": 0.22535,
    "h": 326.9
  },
  "luminance": 0.23282
}

Semantic roles & 50–950 ramp

primary
#D04CD3
secondary
#A3D9A2
accent
#E44448
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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