#D254FD#D254FD

#D254FD is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.9% C 0.252 H 316.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D254FD
RGBrgb(210, 84, 253)
HSLhsl(285, 98%, 66%)
HSVhsv(285, 67%, 99%)
CMYKcmyk(17%, 66.8%, 0%, 0.8%)
CIE-LABlab(59.10, 73.01, -62.06)
CIE-LCHlch(59.10, 95.82, 319.63°)
OKLaboklab(67.93% 0.1821 -0.1744)
OKLCHoklch(67.93% 0.252 316.2)
XYZxyz(47.4756, 27.1360, 95.6464)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254FD #7FFD54
analogous
#7D54FD #D254FD #FD54D3
triadic
#D254FD #FDD254 #54FDD2
tetradic
#D254FD #FD7D54 #7FFD54 #54D3FD
square
#D254FD #FD7D54 #7FFD54 #54D3FD
split-complementary
#D254FD #D3FD54 #54FD7D
monochromatic
#9F02D4 #C218FC #D254FD #E290FE #F2CDFE

Accessibility & contrast

On white

3.27
#D254FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#D254FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254FD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254FD#FFFFFF#000000##000000
##D254FD1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#CF75A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d254fd;
/* rgb */ color: rgb(210, 84, 253);
/* oklch */ color: oklch(67.9% 0.252 316.2);
Tailwind
colors: {
  custom: {
    50: '#e48dff',
    500: '#d254fd',
    950: '#000000',
  },
}
SCSS
$custom: #d254fd;
$custom-light: #e48dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d254fd",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 284.734,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6793,
    "c": 0.25209,
    "h": 316.2
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#D254FD
secondary
#C9F2BB
accent
#E6003A
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D254FD

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

Preview Lab → · Contrast checker → · Palette generator →

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