#D254EF#D254EF

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

Color values

HEX#D254EF
RGBrgb(210, 84, 239)
HSLhsl(289, 83%, 63%)
HSVhsv(289, 65%, 94%)
CMYKcmyk(12.1%, 64.9%, 0%, 6.3%)
CIE-LABlab(58.30, 70.39, -55.57)
CIE-LCHlch(58.30, 89.68, 321.71°)
OKLaboklab(67.1% 0.1826 -0.1554)
OKLCHoklch(67.1% 0.24 319.6)
XYZxyz(45.3267, 26.2764, 84.3289)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254EF #71EF54
analogous
#8454EF #D254EF #EF54BF
triadic
#D254EF #EFD254 #54EFD2
tetradic
#D254EF #EF8454 #71EF54 #54BFEF
square
#D254EF #EF8454 #71EF54 #54BFEF
split-complementary
#D254EF #BFEF54 #54EF84
monochromatic
#9811B7 #C31CEA #D254EF #E18CF4 #EFC4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D254EF#FFFFFF#000000##000000
##D254EF1.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)
#2084F4
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#D36F9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d254ef;
/* rgb */ color: rgb(210, 84, 239);
/* oklch */ color: oklch(67.1% 0.240 319.6);
Tailwind
colors: {
  custom: {
    50: '#e38df5',
    500: '#d254ef',
    950: '#000000',
  },
}
SCSS
$custom: #d254ef;
$custom-light: #e38df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d254ef",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 288.774,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67097,
    "c": 0.23975,
    "h": 319.6
  },
  "luminance": 0.26274
}

Semantic roles & 50–950 ramp

primary
#D254EF
secondary
#BEEBB4
accent
#DF062F
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D254EF

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

Preview Lab → · Contrast checker → · Palette generator →

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