#D54FD7#D54FD7

#D54FD7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.227 H 327.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D54FD7
RGBrgb(213, 79, 215)
HSLhsl(299, 63%, 58%)
HSVhsv(299, 63%, 84%)
CMYKcmyk(0.9%, 63.3%, 0%, 15.7%)
CIE-LABlab(56.73, 68.86, -44.54)
CIE-LCHlch(56.73, 82.01, 327.10°)
OKLaboklab(65.64% 0.191 -0.1232)
OKLCHoklch(65.64% 0.227 327.2)
XYZxyz(42.5016, 24.6472, 66.7956)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FD7 #51D74F
analogous
#914FD7 #D54FD7 #D74F95
triadic
#D54FD7 #D7D54F #4FD7D5
tetradic
#D54FD7 #D7914F #51D74F #4F95D7
square
#D54FD7 #D7914F #51D74F #4F95D7
split-complementary
#D54FD7 #95D74F #4FD791
monochromatic
#8A208C #BC2BBE #D54FD7 #E181E2 #EDB3EE

Accessibility & contrast

On white

3.54
#D54FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D54FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FD7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FD7#FFFFFF#000000##000000
##D54FD71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDB
Deuteranopia (green-blind)
#6E8ED3
Tritanopia (blue-blind)
#DB628C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54fd7;
/* rgb */ color: rgb(213, 79, 215);
/* oklch */ color: oklch(65.6% 0.227 327.2);
Tailwind
colors: {
  custom: {
    50: '#e58ae4',
    500: '#d54fd7',
    950: '#000000',
  },
}
SCSS
$custom: #d54fd7;
$custom-light: #e58ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fd7",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 299.118,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.2273,
    "h": 327.2
  },
  "luminance": 0.24644
}

Semantic roles & 50–950 ramp

primary
#D54FD7
secondary
#A6DCA6
accent
#E64244
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D54FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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