#D54FF2#D54FF2

#D54FF2 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.2% C 0.250 H 320.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D54FF2
RGBrgb(213, 79, 242)
HSLhsl(289, 86%, 63%)
HSVhsv(289, 67%, 95%)
CMYKcmyk(12%, 67.4%, 0%, 5.1%)
CIE-LABlab(58.18, 73.56, -57.40)
CIE-LCHlch(58.18, 93.31, 322.03°)
OKLaboklab(67.15% 0.1912 -0.1606)
OKLCHoklch(67.15% 0.25 320)
XYZxyz(46.2616, 26.1512, 86.5981)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FF2 #6CF24F
analogous
#834FF2 #D54FF2 #F24FBD
triadic
#D54FF2 #F2D54F #4FF2D5
tetradic
#D54FF2 #F2834F #6CF24F #4FBDF2
square
#D54FF2 #F2834F #6CF24F #4FBDF2
split-complementary
#D54FF2 #BDF24F #4FF283
monochromatic
#9A0EB9 #C716EE #D54FF2 #E388F6 #F0C1FA

Accessibility & contrast

On white

3.37
#D54FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D54FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FF2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FF2#FFFFFF#000000##000000
##D54FF21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0683F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#D66D9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d54ff2;
/* rgb */ color: rgb(213, 79, 242);
/* oklch */ color: oklch(67.2% 0.250 320.0);
Tailwind
colors: {
  custom: {
    50: '#e68af7',
    500: '#d54ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d54ff2;
$custom-light: #e68af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ff2",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 289.325,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.2497,
    "h": 320
  },
  "luminance": 0.26149
}

Semantic roles & 50–950 ramp

primary
#D54FF2
secondary
#BBECB1
accent
#E3032B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D54FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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