#D254E2#D254E2

#D254E2 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.228 H 323.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D254E2
RGBrgb(210, 84, 226)
HSLhsl(293, 71%, 61%)
HSVhsv(293, 63%, 89%)
CMYKcmyk(7.1%, 62.8%, 0%, 11.4%)
CIE-LABlab(57.59, 68.03, -49.41)
CIE-LCHlch(57.59, 84.08, 324.01°)
OKLaboklab(66.36% 0.1825 -0.1374)
OKLCHoklch(66.36% 0.228 323)
XYZxyz(43.4748, 25.5356, 74.5757)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254E2 #64E254
analogous
#8B54E2 #D254E2 #E254AB
triadic
#D254E2 #E2D254 #54E2D2
tetradic
#D254E2 #E28B54 #64E254 #54ABE2
square
#D254E2 #E28B54 #64E254 #54ABE2
split-complementary
#D254E2 #ABE254 #54E28B
monochromatic
#911BA0 #C124D5 #D254E2 #E088EB #EEBDF4

Accessibility & contrast

On white

3.44
#D254E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D254E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254E2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254E2#FFFFFF#000000##000000
##D254E21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#D56A94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d254e2;
/* rgb */ color: rgb(210, 84, 226);
/* oklch */ color: oklch(66.4% 0.228 323.0);
Tailwind
colors: {
  custom: {
    50: '#e38cec',
    500: '#d254e2',
    950: '#000000',
  },
}
SCSS
$custom: #d254e2;
$custom-light: #e38cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d254e2",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 293.239,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.22848,
    "h": 323
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#D254E2
secondary
#B4E4AE
accent
#D31228
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254E2

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

Preview Lab → · Contrast checker → · Palette generator →

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