#D04CD2#D04CD2

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

Color values

HEX#D04CD2
RGBrgb(208, 76, 210)
HSLhsl(299, 60%, 56%)
HSVhsv(299, 64%, 82%)
CMYKcmyk(1%, 63.8%, 0%, 17.6%)
CIE-LABlab(55.31, 68.02, -43.99)
CIE-LCHlch(55.31, 81.01, 327.11°)
OKLaboklab(64.39% 0.1887 -0.1217)
OKLCHoklch(64.39% 0.225 327.2)
XYZxyz(40.2291, 23.2346, 63.3261)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD2 #4ED24C
analogous
#8D4CD2 #D04CD2 #D24C91
triadic
#D04CD2 #D2D04C #4CD2D0
tetradic
#D04CD2 #D28D4C #4ED24C #4C91D2
square
#D04CD2 #D28D4C #4ED24C #4C91D2
split-complementary
#D04CD2 #91D24C #4CD28D
monochromatic
#812183 #B22DB4 #D04CD2 #DD7DDE #EAAEEB

Accessibility & contrast

On white

3.72
#D04CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#D04CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD2#FFFFFF#000000##000000
##D04CD21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD6
Deuteranopia (green-blind)
#6B8ACE
Tritanopia (blue-blind)
#D65E89
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04cd2;
/* rgb */ color: rgb(208, 76, 210);
/* oklch */ color: oklch(64.4% 0.225 327.2);
Tailwind
colors: {
  custom: {
    50: '#e287e0',
    500: '#d04cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd2;
$custom-light: #e287e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd2",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 299.104,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.22454,
    "h": 327.2
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#D04CD2
secondary
#A2D9A1
accent
#E34547
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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