#D045D9#D045D9

#D045D9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.239 H 325.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D045D9
RGBrgb(208, 69, 217)
HSLhsl(296, 66%, 56%)
HSVhsv(296, 68%, 85%)
CMYKcmyk(4.1%, 68.2%, 0%, 14.9%)
CIE-LABlab(54.74, 71.84, -48.88)
CIE-LCHlch(54.74, 86.89, 325.77°)
OKLaboklab(64.09% 0.1963 -0.1358)
OKLCHoklch(64.09% 0.239 325.3)
XYZxyz(40.6640, 22.6785, 67.8677)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045D9 #4ED945
analogous
#8645D9 #D045D9 #D94598
triadic
#D045D9 #D9D045 #45D9D0
tetradic
#D045D9 #D98645 #4ED945 #4598D9
square
#D045D9 #D98645 #4ED945 #4598D9
split-complementary
#D045D9 #98D945 #45D986
monochromatic
#811C88 #B226BB #D045D9 #DD78E3 #EAABEE

Accessibility & contrast

On white

3.79
#D045D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D045D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045D9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045D9#FFFFFF#000000##000000
##D045D91.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2378DD
Deuteranopia (green-blind)
#6389D5
Tritanopia (blue-blind)
#D55D8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d045d9;
/* rgb */ color: rgb(208, 69, 217);
/* oklch */ color: oklch(64.1% 0.239 325.3);
Tailwind
colors: {
  custom: {
    50: '#e284e5',
    500: '#d045d9',
    950: '#000000',
  },
}
SCSS
$custom: #d045d9;
$custom-light: #e284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d045d9",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 296.351,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.23868,
    "h": 325.3
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

primary
#D045D9
secondary
#A2DB9E
accent
#E93F49
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D045D9

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

Preview Lab → · Contrast checker → · Palette generator →

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