#D54AE7#D54AE7

#D54AE7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.0% C 0.246 H 322.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D54AE7
RGBrgb(213, 74, 231)
HSLhsl(293, 77%, 60%)
HSVhsv(293, 68%, 91%)
CMYKcmyk(7.8%, 68%, 0%, 9.4%)
CIE-LABlab(56.90, 73.50, -53.30)
CIE-LCHlch(56.90, 90.79, 324.05°)
OKLaboklab(66.03% 0.1966 -0.1486)
OKLCHoklch(66.03% 0.246 322.9)
XYZxyz(44.3118, 24.8157, 78.0417)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54AE7 #5CE74A
analogous
#874AE7 #D54AE7 #E74AAB
triadic
#D54AE7 #E7D54A #4AE7D5
tetradic
#D54AE7 #E7874A #5CE74A #4AABE7
square
#D54AE7 #E7874A #5CE74A #4AABE7
split-complementary
#D54AE7 #ABE74A #4AE787
monochromatic
#9115A1 #C21DD7 #D54AE7 #E280EE #EEB6F5

Accessibility & contrast

On white

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

On black

5.96
#D54AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54AE7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54AE7#FFFFFF#000000##000000
##D54AE71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#D86593
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54ae7;
/* rgb */ color: rgb(213, 74, 231);
/* oklch */ color: oklch(66.0% 0.246 322.9);
Tailwind
colors: {
  custom: {
    50: '#e688ef',
    500: '#d54ae7',
    950: '#000000',
  },
}
SCSS
$custom: #d54ae7;
$custom-light: #e688ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ae7",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 293.121,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.24642,
    "h": 322.9
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#D54AE7
secondary
#AFE5A8
accent
#F3354A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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