#D254E9#D254E9

#D254E9 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.235 H 321.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D254E9
RGBrgb(210, 84, 233)
HSLhsl(291, 77%, 62%)
HSVhsv(291, 64%, 91%)
CMYKcmyk(9.9%, 63.9%, 0%, 8.6%)
CIE-LABlab(57.97, 69.29, -52.74)
CIE-LCHlch(57.97, 87.08, 322.72°)
OKLaboklab(66.75% 0.1826 -0.1471)
OKLCHoklch(66.75% 0.235 321.1)
XYZxyz(44.4550, 25.9277, 79.7379)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254E9 #6BE954
analogous
#8754E9 #D254E9 #E954B6
triadic
#D254E9 #E9D254 #54E9D2
tetradic
#D254E9 #E98754 #6BE954 #54B6E9
square
#D254E9 #E98754 #6BE954 #54B6E9
split-complementary
#D254E9 #B6E954 #54E987
monochromatic
#9516AC #C41EE2 #D254E9 #E08AF0 #EFC0F7

Accessibility & contrast

On white

3.40
#D254E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D254E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254E9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254E9#FFFFFF#000000##000000
##D254E91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#D46D98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d254e9;
/* rgb */ color: rgb(210, 84, 233);
/* oklch */ color: oklch(66.8% 0.235 321.1);
Tailwind
colors: {
  custom: {
    50: '#e38cf1',
    500: '#d254e9',
    950: '#000000',
  },
}
SCSS
$custom: #d254e9;
$custom-light: #e38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d254e9",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 290.738,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66753,
    "c": 0.23452,
    "h": 321.1
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#D254E9
secondary
#B9E8B1
accent
#D90C2C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D254E9

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

Preview Lab → · Contrast checker → · Palette generator →

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