#D45CEA#D45CEA

#D45CEA is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.9% C 0.226 H 321.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D45CEA
RGBrgb(212, 92, 234)
HSLhsl(291, 77%, 64%)
HSVhsv(291, 61%, 92%)
CMYKcmyk(9.4%, 60.7%, 0%, 8.2%)
CIE-LABlab(59.52, 66.56, -50.82)
CIE-LCHlch(59.52, 83.74, 322.64°)
OKLaboklab(67.95% 0.1758 -0.1415)
OKLCHoklch(67.95% 0.226 321.2)
XYZxyz(45.8281, 27.5941, 80.7382)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CEA #72EA5C
analogous
#8D5CEA #D45CEA #EA5CB9
triadic
#D45CEA #EAD45C #5CEAD4
tetradic
#D45CEA #EA8D5C #72EA5C #5CB9EA
square
#D45CEA #EA8D5C #72EA5C #5CB9EA
split-complementary
#D45CEA #B9EA5C #5CEA8D
monochromatic
#9C17B4 #C626E3 #D45CEA #E292F1 #F1C8F8

Accessibility & contrast

On white

3.22
#D45CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D45CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CEA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CEA#FFFFFF#000000##000000
##D45CEA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#6B94E6
Tritanopia (blue-blind)
#D6729B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d45cea;
/* rgb */ color: rgb(212, 92, 234);
/* oklch */ color: oklch(67.9% 0.226 321.2);
Tailwind
colors: {
  custom: {
    50: '#e491f1',
    500: '#d45cea',
    950: '#000000',
  },
}
SCSS
$custom: #d45cea;
$custom-light: #e491f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cea",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 290.704,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67949,
    "c": 0.22568,
    "h": 321.2
  },
  "luminance": 0.27592
}

Semantic roles & 50–950 ramp

primary
#D45CEA
secondary
#C0EAB8
accent
#D90C2C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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