#D54CF5#D54CF5

#D54CF5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 67.0% C 0.256 H 319.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D54CF5
RGBrgb(213, 76, 245)
HSLhsl(289, 89%, 63%)
HSVhsv(289, 69%, 96%)
CMYKcmyk(13.1%, 69%, 0%, 3.9%)
CIE-LABlab(57.95, 75.24, -59.44)
CIE-LCHlch(57.95, 95.88, 321.69°)
OKLaboklab(67.04% 0.194 -0.1665)
OKLCHoklch(67.04% 0.256 319.4)
XYZxyz(46.5043, 25.9098, 88.9200)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CF5 #6CF54C
analogous
#804CF5 #D54CF5 #F54CC0
triadic
#D54CF5 #F5D54C #4CF5D5
tetradic
#D54CF5 #F5804C #6CF54C #4CC0F5
square
#D54CF5 #F5804C #6CF54C #4CC0F5
split-complementary
#D54CF5 #C0F54C #4CF580
monochromatic
#9A0BBC #C712F2 #D54CF5 #E386F8 #F0C0FB

Accessibility & contrast

On white

3.40
#D54CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D54CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CF5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CF5#FFFFFF#000000##000000
##D54CF51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#D56C9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d54cf5;
/* rgb */ color: rgb(213, 76, 245);
/* oklch */ color: oklch(67.0% 0.256 319.4);
Tailwind
colors: {
  custom: {
    50: '#e689f9',
    500: '#d54cf5',
    950: '#000000',
  },
}
SCSS
$custom: #d54cf5;
$custom-light: #e689f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cf5",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 288.639,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.25572,
    "h": 319.4
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#D54CF5
secondary
#BBEDB0
accent
#E6002B
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #D54CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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