#D254E3#D254E3

#D254E3 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.229 H 322.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D254E3
RGBrgb(210, 84, 227)
HSLhsl(293, 72%, 61%)
HSVhsv(293, 63%, 89%)
CMYKcmyk(7.5%, 63%, 0%, 11%)
CIE-LABlab(57.65, 68.21, -49.89)
CIE-LCHlch(57.65, 84.51, 323.82°)
OKLaboklab(66.42% 0.1826 -0.1388)
OKLCHoklch(66.42% 0.229 322.8)
XYZxyz(43.6124, 25.5907, 75.3005)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254E3 #65E354
analogous
#8A54E3 #D254E3 #E354AC
triadic
#D254E3 #E3D254 #54E3D2
tetradic
#D254E3 #E38A54 #65E354 #54ACE3
square
#D254E3 #E38A54 #65E354 #54ACE3
split-complementary
#D254E3 #ACE354 #54E38A
monochromatic
#921BA2 #C123D7 #D254E3 #E089EC #EEBDF4

Accessibility & contrast

On white

3.43
#D254E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D254E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254E3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254E3#FFFFFF#000000##000000
##D254E31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E7
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#D56A94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d254e3;
/* rgb */ color: rgb(210, 84, 227);
/* oklch */ color: oklch(66.4% 0.229 322.8);
Tailwind
colors: {
  custom: {
    50: '#e38cec',
    500: '#d254e3',
    950: '#000000',
  },
}
SCSS
$custom: #d254e3;
$custom-light: #e38cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d254e3",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 292.867,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66416,
    "c": 0.22934,
    "h": 322.8
  },
  "luminance": 0.25588
}

Semantic roles & 50–950 ramp

primary
#D254E3
secondary
#B5E4AE
accent
#D41229
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254E3

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

Preview Lab → · Contrast checker → · Palette generator →

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