#D54FC8#D54FC8

#D54FC8 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.215 H 331.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D54FC8
RGBrgb(213, 79, 200)
HSLhsl(306, 61%, 57%)
HSVhsv(306, 63%, 84%)
CMYKcmyk(0%, 62.9%, 6.1%, 16.5%)
CIE-LABlab(56.00, 66.41, -37.15)
CIE-LCHlch(56.00, 76.10, 330.78°)
OKLaboklab(64.87% 0.1899 -0.1018)
OKLCHoklch(64.87% 0.215 331.8)
XYZxyz(40.6618, 23.9113, 57.1061)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FC8 #4FD55C
analogous
#9F4FD5 #D54FC8 #D54F85
triadic
#D54FC8 #C8D54F #4FC8D5
tetradic
#D54FC8 #D59F4F #4FD55C #4F85D5
square
#D54FC8 #D59F4F #4FD55C #4F85D5
split-complementary
#D54FC8 #85D54F #4FD59F
monochromatic
#89217F #BA2CAD #D54FC8 #E180D7 #EDB2E7

Accessibility & contrast

On white

3.63
#D54FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D54FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FC8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FC8#FFFFFF#000000##000000
##D54FC81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#DD5C85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54fc8;
/* rgb */ color: rgb(213, 79, 200);
/* oklch */ color: oklch(64.9% 0.215 331.8);
Tailwind
colors: {
  custom: {
    50: '#e589d9',
    500: '#d54fc8',
    950: '#000000',
  },
}
SCSS
$custom: #d54fc8;
$custom-light: #e589d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fc8",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 305.821,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64871,
    "c": 0.21548,
    "h": 331.8
  },
  "luminance": 0.23908
}

Semantic roles & 50–950 ramp

primary
#D54FC8
secondary
#A5DBAA
accent
#E55343
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D54FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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