#D45ECF#D45ECF

#D45ECF is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.8% C 0.199 H 329.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#D45ECF
RGBrgb(212, 94, 207)
HSLhsl(303, 58%, 60%)
HSVhsv(303, 56%, 83%)
CMYKcmyk(0%, 55.7%, 2.4%, 16.9%)
CIE-LABlab(58.52, 60.89, -37.20)
CIE-LCHlch(58.52, 71.36, 328.58°)
OKLaboklab(66.79% 0.1712 -0.1021)
OKLCHoklch(66.79% 0.199 329.2)
XYZxyz(42.4161, 26.5102, 61.9023)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ECF #5ED463
analogous
#9E5ED4 #D45ECF #D45E94
triadic
#D45ECF #CFD45E #5ECFD4
tetradic
#D45ECF #D49E5E #5ED463 #5E94D4
square
#D45ECF #D49E5E #5ED463 #5E94D4
split-complementary
#D45ECF #94D45E #5ED49E
monochromatic
#91278C #C134BB #D45ECF #E18EDD #EEBFEC

Accessibility & contrast

On white

3.33
#D45ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#D45ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ECF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ECF#FFFFFF#000000##000000
##D45ECF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D3
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#DB6A8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45ecf;
/* rgb */ color: rgb(212, 94, 207);
/* oklch */ color: oklch(66.8% 0.199 329.2);
Tailwind
colors: {
  custom: {
    50: '#e491de',
    500: '#d45ecf',
    950: '#000000',
  },
}
SCSS
$custom: #d45ecf;
$custom-light: #e491de;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ecf",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 302.542,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.19938,
    "h": 329.2
  },
  "luminance": 0.26507
}

Semantic roles & 50–950 ramp

primary
#D45ECF
secondary
#B0DEB2
accent
#E14D47
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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