#D254F7#D254F7

#D254F7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.6% C 0.247 H 317.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D254F7
RGBrgb(210, 84, 247)
HSLhsl(286, 91%, 65%)
HSVhsv(286, 66%, 97%)
CMYKcmyk(15%, 66%, 0%, 3.1%)
CIE-LABlab(58.75, 71.88, -59.30)
CIE-LCHlch(58.75, 93.18, 320.48°)
OKLaboklab(67.57% 0.1824 -0.1663)
OKLCHoklch(67.57% 0.247 317.6)
XYZxyz(46.5348, 26.7596, 90.6916)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254F7 #79F754
analogous
#8054F7 #D254F7 #F754CB
triadic
#D254F7 #F7D254 #54F7D2
tetradic
#D254F7 #F78054 #79F754 #54CBF7
square
#D254F7 #F78054 #79F754 #54CBF7
split-complementary
#D254F7 #CBF754 #54F780
monochromatic
#9C09C7 #C31AF4 #D254F7 #E18EFA #F1C9FC

Accessibility & contrast

On white

3.31
#D254F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D254F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254F7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254F7#FFFFFF#000000##000000
##D254F71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0385FC
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#D1729F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d254f7;
/* rgb */ color: rgb(210, 84, 247);
/* oklch */ color: oklch(67.6% 0.247 317.6);
Tailwind
colors: {
  custom: {
    50: '#e48dfa',
    500: '#d254f7',
    950: '#000000',
  },
}
SCSS
$custom: #d254f7;
$custom-light: #e48dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d254f7",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 286.38,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.24678,
    "h": 317.6
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#D254F7
secondary
#C4EFB8
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D254F7

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

Preview Lab → · Contrast checker → · Palette generator →

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