#D54FC4#D54FC4

#D54FC4 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.212 H 333.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D54FC4
RGBrgb(213, 79, 196)
HSLhsl(308, 61%, 57%)
HSVhsv(308, 63%, 84%)
CMYKcmyk(0%, 62.9%, 8%, 16.5%)
CIE-LABlab(55.81, 65.78, -35.15)
CIE-LCHlch(55.81, 74.58, 331.88°)
OKLaboklab(64.68% 0.1895 -0.0961)
OKLCHoklch(64.68% 0.212 333.1)
XYZxyz(40.2005, 23.7267, 54.6763)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FC4 #4FD560
analogous
#A34FD5 #D54FC4 #D54F81
triadic
#D54FC4 #C4D54F #4FC4D5
tetradic
#D54FC4 #D5A34F #4FD560 #4F81D5
square
#D54FC4 #D5A34F #4FD560 #4F81D5
split-complementary
#D54FC4 #81D54F #4FD5A3
monochromatic
#89217C #BA2CA8 #D54FC4 #E180D5 #EDB2E5

Accessibility & contrast

On white

3.66
#D54FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D54FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FC4#FFFFFF#000000##000000
##D54FC41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C8
Deuteranopia (green-blind)
#778DC1
Tritanopia (blue-blind)
#DE5A82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54fc4;
/* rgb */ color: rgb(213, 79, 196);
/* oklch */ color: oklch(64.7% 0.212 333.1);
Tailwind
colors: {
  custom: {
    50: '#e589d6',
    500: '#d54fc4',
    950: '#000000',
  },
}
SCSS
$custom: #d54fc4;
$custom-light: #e589d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fc4",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 307.612,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64675,
    "c": 0.21244,
    "h": 333.1
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#D54FC4
secondary
#A5DBAC
accent
#E55843
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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