#D54FEB#D54FEB

#D54FEB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.7% C 0.244 H 321.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D54FEB
RGBrgb(213, 79, 235)
HSLhsl(292, 80%, 62%)
HSVhsv(292, 66%, 92%)
CMYKcmyk(9.4%, 66.4%, 0%, 7.8%)
CIE-LABlab(57.79, 72.31, -54.12)
CIE-LCHlch(57.79, 90.32, 323.19°)
OKLaboklab(66.74% 0.1914 -0.151)
OKLCHoklch(66.74% 0.244 321.7)
XYZxyz(45.2303, 25.7387, 81.1668)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FEB #65EB4F
analogous
#874FEB #D54FEB #EB4FB3
triadic
#D54FEB #EBD54F #4FEBD5
tetradic
#D54FEB #EB874F #65EB4F #4FB3EB
square
#D54FEB #EB874F #65EB4F #4FB3EB
split-complementary
#D54FEB #B3EB4F #4FEB87
monochromatic
#9714AC #C71AE3 #D54FEB #E286F1 #EFBDF7

Accessibility & contrast

On white

3.42
#D54FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D54FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FEB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FEB#FFFFFF#000000##000000
##D54FEB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81F0
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#D76A97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d54feb;
/* rgb */ color: rgb(213, 79, 235);
/* oklch */ color: oklch(66.7% 0.244 321.7);
Tailwind
colors: {
  custom: {
    50: '#e68af2',
    500: '#d54feb',
    950: '#000000',
  },
}
SCSS
$custom: #d54feb;
$custom-light: #e68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#d54feb",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 291.538,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.24379,
    "h": 321.7
  },
  "luminance": 0.25736
}

Semantic roles & 50–950 ramp

primary
#D54FEB
secondary
#B6E8AE
accent
#DC0A27
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D54FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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