#D54CE3#D54CE3

#D54CE3 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.0% C 0.241 H 323.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D54CE3
RGBrgb(213, 76, 227)
HSLhsl(294, 73%, 59%)
HSVhsv(294, 67%, 89%)
CMYKcmyk(6.2%, 66.5%, 0%, 11%)
CIE-LABlab(56.94, 72.06, -50.98)
CIE-LCHlch(56.94, 88.27, 324.72°)
OKLaboklab(66% 0.1946 -0.1418)
OKLCHoklch(66% 0.241 323.9)
XYZxyz(43.8889, 24.8637, 75.1456)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CE3 #5AE34C
analogous
#8A4CE3 #D54CE3 #E34CA6
triadic
#D54CE3 #E3D54C #4CE3D5
tetradic
#D54CE3 #E38A4C #5AE34C #4CA6E3
square
#D54CE3 #E38A4C #5AE34C #4CA6E3
split-complementary
#D54CE3 #A6E34C #4CE38A
monochromatic
#90189C #C121D1 #D54CE3 #E181EB #EEB6F4

Accessibility & contrast

On white

3.52
#D54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D54CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CE3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CE3#FFFFFF#000000##000000
##D54CE31.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE7
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#D96492
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d54ce3;
/* rgb */ color: rgb(213, 76, 227);
/* oklch */ color: oklch(66.0% 0.241 323.9);
Tailwind
colors: {
  custom: {
    50: '#e688ec',
    500: '#d54ce3',
    950: '#000000',
  },
}
SCSS
$custom: #d54ce3;
$custom-light: #e688ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ce3",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 294.437,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65995,
    "c": 0.24078,
    "h": 323.9
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#D54CE3
secondary
#ADE3A8
accent
#F03849
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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