#D45ECB#D45ECB

#D45ECB is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.6% C 0.196 H 330.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D45ECB
RGBrgb(212, 94, 203)
HSLhsl(305, 58%, 60%)
HSVhsv(305, 56%, 83%)
CMYKcmyk(0%, 55.7%, 4.2%, 16.9%)
CIE-LABlab(58.34, 60.22, -35.22)
CIE-LCHlch(58.34, 69.76, 329.68°)
OKLaboklab(66.6% 0.1707 -0.0964)
OKLCHoklch(66.6% 0.196 330.5)
XYZxyz(41.9333, 26.3170, 59.3594)
Luminance0.2631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45ECB #5ED467
analogous
#A25ED4 #D45ECB #D45E90
triadic
#D45ECB #CBD45E #5ECBD4
tetradic
#D45ECB #D4A25E #5ED467 #5E90D4
square
#D45ECB #D4A25E #5ED467 #5E90D4
split-complementary
#D45ECB #90D45E #5ED4A2
monochromatic
#912789 #C134B6 #D45ECB #E18EDB #EEBFEA

Accessibility & contrast

On white

3.35
#D45ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D45ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45ECB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45ECB#FFFFFF#000000##000000
##D45ECB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#DB698C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45ecb;
/* rgb */ color: rgb(212, 94, 203);
/* oklch */ color: oklch(66.6% 0.196 330.5);
Tailwind
colors: {
  custom: {
    50: '#e491db',
    500: '#d45ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d45ecb;
$custom-light: #e491db;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ecb",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 304.576,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66595,
    "c": 0.19606,
    "h": 330.5
  },
  "luminance": 0.26314
}

Semantic roles & 50–950 ramp

primary
#D45ECB
secondary
#B0DEB4
accent
#E15247
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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