#D54CD7#D54CD7

#D54CD7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.231 H 327.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D54CD7
RGBrgb(213, 76, 215)
HSLhsl(299, 63%, 57%)
HSVhsv(299, 65%, 84%)
CMYKcmyk(0.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(56.31, 70.03, -45.20)
CIE-LCHlch(56.31, 83.35, 327.16°)
OKLaboklab(65.34% 0.1943 -0.1251)
OKLCHoklch(65.34% 0.231 327.2)
XYZxyz(42.2901, 24.2241, 66.7251)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CD7 #4ED74C
analogous
#904CD7 #D54CD7 #D74C93
triadic
#D54CD7 #D7D54C #4CD7D5
tetradic
#D54CD7 #D7904C #4ED74C #4C93D7
square
#D54CD7 #D7904C #4ED74C #4C93D7
split-complementary
#D54CD7 #93D74C #4CD790
monochromatic
#881F8A #BA2ABC #D54CD7 #E17EE2 #ECB0ED

Accessibility & contrast

On white

3.59
#D54CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D54CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CD7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CD7#FFFFFF#000000##000000
##D54CD71.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDB
Deuteranopia (green-blind)
#6D8DD3
Tritanopia (blue-blind)
#DB5F8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54cd7;
/* rgb */ color: rgb(213, 76, 215);
/* oklch */ color: oklch(65.3% 0.231 327.2);
Tailwind
colors: {
  custom: {
    50: '#e588e4',
    500: '#d54cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d54cd7;
$custom-light: #e588e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cd7",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 299.137,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65336,
    "c": 0.23109,
    "h": 327.2
  },
  "luminance": 0.24221
}

Semantic roles & 50–950 ramp

primary
#D54CD7
secondary
#A4DCA3
accent
#E64144
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D54CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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