#D254F1#D254F1

#D254F1 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.241 H 319.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D254F1
RGBrgb(210, 84, 241)
HSLhsl(288, 85%, 64%)
HSVhsv(288, 65%, 95%)
CMYKcmyk(12.9%, 65.1%, 0%, 5.5%)
CIE-LABlab(58.41, 70.76, -56.50)
CIE-LCHlch(58.41, 90.55, 321.39°)
OKLaboklab(67.21% 0.1826 -0.1581)
OKLCHoklch(67.21% 0.242 319.1)
XYZxyz(45.6238, 26.3952, 85.8936)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254F1 #73F154
analogous
#8354F1 #D254F1 #F154C1
triadic
#D254F1 #F1D254 #54F1D2
tetradic
#D254F1 #F18354 #73F154 #54C1F1
square
#D254F1 #F18354 #73F154 #54C1F1
split-complementary
#D254F1 #C1F154 #54F183
monochromatic
#990FBB #C31BEC #D254F1 #E18DF6 #F0C5FA

Accessibility & contrast

On white

3.34
#D254F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D254F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254F1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254F1#FFFFFF#000000##000000
##D254F11.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B84F6
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#D2709C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d254f1;
/* rgb */ color: rgb(210, 84, 241);
/* oklch */ color: oklch(67.2% 0.241 319.1);
Tailwind
colors: {
  custom: {
    50: '#e48df6',
    500: '#d254f1',
    950: '#000000',
  },
}
SCSS
$custom: #d254f1;
$custom-light: #e48df6;
$custom-dark: #000000;
JSON
{
  "hex": "#d254f1",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 288.153,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.2415,
    "h": 319.1
  },
  "luminance": 0.26393
}

Semantic roles & 50–950 ramp

primary
#D254F1
secondary
#C0ECB5
accent
#E10430
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D254F1

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

Preview Lab → · Contrast checker → · Palette generator →

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