#D254F5#D254F5

#D254F5 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.245 H 318.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D254F5
RGBrgb(210, 84, 245)
HSLhsl(287, 89%, 65%)
HSVhsv(287, 66%, 96%)
CMYKcmyk(14.3%, 65.7%, 0%, 3.9%)
CIE-LABlab(58.64, 71.50, -58.37)
CIE-LCHlch(58.64, 92.30, 320.77°)
OKLaboklab(67.45% 0.1824 -0.1635)
OKLCHoklch(67.45% 0.245 318.1)
XYZxyz(46.2278, 26.6368, 89.0749)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254F5 #77F554
analogous
#8254F5 #D254F5 #F554C7
triadic
#D254F5 #F5D254 #54F5D2
tetradic
#D254F5 #F58254 #77F554 #54C7F5
square
#D254F5 #F58254 #77F554 #54C7F5
split-complementary
#D254F5 #C7F554 #54F582
monochromatic
#9B0BC3 #C31AF2 #D254F5 #E18EF8 #F0C8FC

Accessibility & contrast

On white

3.32
#D254F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D254F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254F5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254F5#FFFFFF#000000##000000
##D254F51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E85FA
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#D1729E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d254f5;
/* rgb */ color: rgb(210, 84, 245);
/* oklch */ color: oklch(67.4% 0.245 318.1);
Tailwind
colors: {
  custom: {
    50: '#e48df9',
    500: '#d254f5',
    950: '#000000',
  },
}
SCSS
$custom: #d254f5;
$custom-light: #e48df9;
$custom-dark: #000000;
JSON
{
  "hex": "#d254f5",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 245
  },
  "hsl": {
    "h": 286.957,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67449,
    "c": 0.24502,
    "h": 318.1
  },
  "luminance": 0.26635
}

Semantic roles & 50–950 ramp

primary
#D254F5
secondary
#C3EEB7
accent
#E60032
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D254F5

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

Preview Lab → · Contrast checker → · Palette generator →

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