#D54AFF#D54AFF

#D54AFF is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.5% C 0.266 H 317.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D54AFF
RGBrgb(213, 74, 255)
HSLhsl(286, 100%, 65%)
HSVhsv(286, 71%, 100%)
CMYKcmyk(16.5%, 71%, 0%, 0%)
CIE-LABlab(58.29, 77.79, -64.45)
CIE-LCHlch(58.29, 101.02, 320.36°)
OKLaboklab(67.47% 0.1952 -0.1812)
OKLCHoklch(67.47% 0.266 317.1)
XYZxyz(47.9367, 26.2657, 97.1331)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54AFF #74FF4A
analogous
#7A4AFF #D54AFF #FF4ACF
triadic
#D54AFF #FFD54A #4AFFD5
tetradic
#D54AFF #FF7A4A #74FF4A #4ACFFF
square
#D54AFF #FF7A4A #74FF4A #4ACFFF
split-complementary
#D54AFF #CFFF4A #4AFF7A
monochromatic
#9F00CF #C70DFF #D54AFF #E387FF #F1C4FF

Accessibility & contrast

On white

3.36
#D54AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D54AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54AFF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54AFF#FFFFFF#000000##000000
##D54AFF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#D36FA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d54aff;
/* rgb */ color: rgb(213, 74, 255);
/* oklch */ color: oklch(67.5% 0.266 317.1);
Tailwind
colors: {
  custom: {
    50: '#e688ff',
    500: '#d54aff',
    950: '#000000',
  },
}
SCSS
$custom: #d54aff;
$custom-light: #e688ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d54aff",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 286.077,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.26634,
    "h": 317.1
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#D54AFF
secondary
#C2F2B3
accent
#E60035
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D54AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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