#D04DDB#D04DDB

#D04DDB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.231 H 324.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D04DDB
RGBrgb(208, 77, 219)
HSLhsl(295, 66%, 58%)
HSVhsv(295, 65%, 86%)
CMYKcmyk(5%, 64.8%, 0%, 14.1%)
CIE-LABlab(55.92, 69.16, -48.13)
CIE-LCHlch(55.92, 84.27, 325.16°)
OKLaboklab(64.98% 0.1879 -0.1337)
OKLCHoklch(64.98% 0.231 324.6)
XYZxyz(41.4514, 23.8346, 69.4213)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DDB #58DB4D
analogous
#894DDB #D04DDB #DB4D9F
triadic
#D04DDB #DBD04D #4DDBD0
tetradic
#D04DDB #DB894D #58DB4D #4D9FDB
square
#D04DDB #DB894D #58DB4D #4D9FDB
split-complementary
#D04DDB #9FDB4D #4DDB89
monochromatic
#871D90 #B727C3 #D04DDB #DD80E5 #EBB3F0

Accessibility & contrast

On white

3.64
#D04DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D04DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DDB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DDB#FFFFFF#000000##000000
##D04DDB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#D4638E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ddb;
/* rgb */ color: rgb(208, 77, 219);
/* oklch */ color: oklch(65.0% 0.231 324.6);
Tailwind
colors: {
  custom: {
    50: '#e288e7',
    500: '#d04ddb',
    950: '#000000',
  },
}
SCSS
$custom: #d04ddb;
$custom-light: #e288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ddb",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 295.352,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.23063,
    "h": 324.6
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#D04DDB
secondary
#AADEA6
accent
#E93F4C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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