#D045CF#D045CF

#D045CF is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.5% C 0.231 H 328.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D045CF
RGBrgb(208, 69, 207)
HSLhsl(300, 60%, 54%)
HSVhsv(300, 67%, 82%)
CMYKcmyk(0%, 66.8%, 0.5%, 18.4%)
CIE-LABlab(54.21, 70.19, -44.02)
CIE-LCHlch(54.21, 82.85, 327.90°)
OKLaboklab(63.54% 0.1961 -0.1217)
OKLCHoklch(63.54% 0.231 328.2)
XYZxyz(39.4025, 22.1739, 61.2240)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045CF #45D046
analogous
#8C45D0 #D045CF #D04589
triadic
#D045CF #CFD045 #45CFD0
tetradic
#D045CF #D08C45 #45D046 #4589D0
square
#D045CF #D08C45 #45D046 #4589D0
split-complementary
#D045CF #89D045 #45D08C
monochromatic
#7B1F7B #AC2CAB #D045CF #DC76DC #E9A7E8

Accessibility & contrast

On white

3.86
#D045CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D045CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045CF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045CF#FFFFFF#000000##000000
##D045CF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#D65885
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d045cf;
/* rgb */ color: rgb(208, 69, 207);
/* oklch */ color: oklch(63.5% 0.231 328.2);
Tailwind
colors: {
  custom: {
    50: '#e284de',
    500: '#d045cf',
    950: '#000000',
  },
}
SCSS
$custom: #d045cf;
$custom-light: #e284de;
$custom-dark: #000000;
JSON
{
  "hex": "#d045cf",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 300.432,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63539,
    "c": 0.2308,
    "h": 328.2
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#D045CF
secondary
#9BD69B
accent
#E34645
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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