#D54FC2#D54FC2

#D54FC2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.211 H 333.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D54FC2
RGBrgb(213, 79, 194)
HSLhsl(309, 61%, 57%)
HSVhsv(309, 63%, 84%)
CMYKcmyk(0%, 62.9%, 8.9%, 16.5%)
CIE-LABlab(55.72, 65.47, -34.15)
CIE-LCHlch(55.72, 73.84, 332.45°)
OKLaboklab(64.58% 0.1892 -0.0932)
OKLCHoklch(64.58% 0.211 333.8)
XYZxyz(39.9744, 23.6363, 53.4853)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FC2 #4FD562
analogous
#A54FD5 #D54FC2 #D54F7F
triadic
#D54FC2 #C2D54F #4FC2D5
tetradic
#D54FC2 #D5A54F #4FD562 #4F7FD5
square
#D54FC2 #D5A54F #4FD562 #4F7FD5
split-complementary
#D54FC2 #7FD54F #4FD5A5
monochromatic
#89217A #BA2CA6 #D54FC2 #E180D3 #EDB2E4

Accessibility & contrast

On white

3.67
#D54FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D54FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FC2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FC2#FFFFFF#000000##000000
##D54FC21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#DE5981
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d54fc2;
/* rgb */ color: rgb(213, 79, 194);
/* oklch */ color: oklch(64.6% 0.211 333.8);
Tailwind
colors: {
  custom: {
    50: '#e589d5',
    500: '#d54fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d54fc2;
$custom-light: #e589d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fc2",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 308.507,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.21095,
    "h": 333.8
  },
  "luminance": 0.23633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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