#D04CDB#D04CDB

#D04CDB is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.9% C 0.232 H 324.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D04CDB
RGBrgb(208, 76, 219)
HSLhsl(295, 67%, 58%)
HSVhsv(295, 65%, 86%)
CMYKcmyk(5%, 65.3%, 0%, 14.1%)
CIE-LABlab(55.78, 69.56, -48.36)
CIE-LCHlch(55.78, 84.71, 325.19°)
OKLaboklab(64.88% 0.189 -0.1343)
OKLCHoklch(64.88% 0.232 324.6)
XYZxyz(41.3820, 23.6957, 69.3982)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CDB #57DB4C
analogous
#894CDB #D04CDB #DB4C9E
triadic
#D04CDB #DBD04C #4CDBD0
tetradic
#D04CDB #DB894C #57DB4C #4C9EDB
square
#D04CDB #DB894C #57DB4C #4C9EDB
split-complementary
#D04CDB #9EDB4C #4CDB89
monochromatic
#871D90 #B727C3 #D04CDB #DD7FE5 #EBB2EF

Accessibility & contrast

On white

3.66
#D04CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D04CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CDB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CDB#FFFFFF#000000##000000
##D04CDB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#D4628D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04cdb;
/* rgb */ color: rgb(208, 76, 219);
/* oklch */ color: oklch(64.9% 0.232 324.6);
Tailwind
colors: {
  custom: {
    50: '#e288e7',
    500: '#d04cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d04cdb;
$custom-light: #e288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cdb",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 295.385,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64875,
    "c": 0.23188,
    "h": 324.6
  },
  "luminance": 0.23693
}

Semantic roles & 50–950 ramp

primary
#D04CDB
secondary
#A9DEA5
accent
#E93E4C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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