#DF74EC#DF74EC

#DF74EC is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.4% C 0.198 H 323.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#DF74EC
RGBrgb(223, 116, 236)
HSLhsl(294, 76%, 69%)
HSVhsv(294, 51%, 93%)
CMYKcmyk(5.5%, 50.8%, 0%, 7.5%)
CIE-LABlab(65.15, 58.67, -42.95)
CIE-LCHlch(65.15, 72.71, 323.80°)
OKLaboklab(72.4% 0.1583 -0.1186)
OKLCHoklch(72.4% 0.198 323.2)
XYZxyz(51.8156, 34.2373, 83.2197)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF74EC #81EC74
analogous
#A374EC #DF74EC #EC74BD
triadic
#DF74EC #ECDF74 #74ECDF
tetradic
#DF74EC #ECA374 #81EC74 #74BDEC
square
#DF74EC #ECA374 #81EC74 #74BDEC
split-complementary
#DF74EC #BDEC74 #74ECA3
monochromatic
#B71CCA #D33EE5 #DF74EC #EBAAF3 #F8E0FB

Accessibility & contrast

On white

2.68
#DF74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#DF74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF74EC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF74EC#FFFFFF#000000##000000
##DF74EC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#E283A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #df74ec;
/* rgb */ color: rgb(223, 116, 236);
/* oklch */ color: oklch(72.4% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#eba0f2',
    500: '#df74ec',
    950: '#000000',
  },
}
SCSS
$custom: #df74ec;
$custom-light: #eba0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df74ec",
  "rgb": {
    "r": 223,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 293.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72401,
    "c": 0.19782,
    "h": 323.2
  },
  "luminance": 0.34235
}

Semantic roles & 50–950 ramp

primary
#DF74EC
secondary
#D0EFCC
accent
#D80D23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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