#D045C1#D045C1

#D045C1 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.220 H 332.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#D045C1
RGBrgb(208, 69, 193)
HSLhsl(306, 60%, 54%)
HSVhsv(306, 67%, 82%)
CMYKcmyk(0%, 66.8%, 7.2%, 18.4%)
CIE-LABlab(53.51, 67.96, -37.09)
CIE-LCHlch(53.51, 77.42, 331.38°)
OKLaboklab(62.81% 0.1953 -0.1017)
OKLCHoklch(62.81% 0.22 332.5)
XYZxyz(37.7663, 21.5194, 52.6063)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045C1 #45D054
analogous
#9A45D0 #D045C1 #D0457C
triadic
#D045C1 #C1D045 #45C1D0
tetradic
#D045C1 #D09A45 #45D054 #457CD0
square
#D045C1 #D09A45 #45D054 #457CD0
split-complementary
#D045C1 #7CD045 #45D09A
monochromatic
#7B1F71 #AC2C9E #D045C1 #DC76D1 #E9A7E2

Accessibility & contrast

On white

3.96
#D045C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#D045C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045C1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045C1#FFFFFF#000000##000000
##D045C11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#7087BD
Tritanopia (blue-blind)
#D9527D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d045c1;
/* rgb */ color: rgb(208, 69, 193);
/* oklch */ color: oklch(62.8% 0.220 332.5);
Tailwind
colors: {
  custom: {
    50: '#e283d4',
    500: '#d045c1',
    950: '#000000',
  },
}
SCSS
$custom: #d045c1;
$custom-light: #e283d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d045c1",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 306.475,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.22016,
    "h": 332.5
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#D045C1
secondary
#9BD6A1
accent
#E35645
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D045C1

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

Preview Lab → · Contrast checker → · Palette generator →

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