#DF74E8#DF74E8

#DF74E8 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.2% C 0.194 H 324.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#DF74E8
RGBrgb(223, 116, 232)
HSLhsl(295, 72%, 68%)
HSVhsv(295, 50%, 91%)
CMYKcmyk(3.9%, 50%, 0%, 9%)
CIE-LABlab(64.97, 57.94, -41.02)
CIE-LCHlch(64.97, 70.99, 324.70°)
OKLaboklab(72.21% 0.1578 -0.113)
OKLCHoklch(72.21% 0.194 324.4)
XYZxyz(51.2410, 34.0075, 80.1933)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF74E8 #7DE874
analogous
#A574E8 #DF74E8 #E874B7
triadic
#DF74E8 #E8DF74 #74E8DF
tetradic
#DF74E8 #E8A574 #7DE874 #74B7E8
square
#DF74E8 #E8A574 #7DE874 #74B7E8
split-complementary
#DF74E8 #B7E874 #74E8A5
monochromatic
#B520C2 #D33FDF #DF74E8 #EBA9F1 #F7DDF9

Accessibility & contrast

On white

2.69
#DF74E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#DF74E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF74E8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF74E8#FFFFFF#000000##000000
##DF74E81.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#86A2E5
Tritanopia (blue-blind)
#E382A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #df74e8;
/* rgb */ color: rgb(223, 116, 232);
/* oklch */ color: oklch(72.2% 0.194 324.4);
Tailwind
colors: {
  custom: {
    50: '#eba0ef',
    500: '#df74e8',
    950: '#000000',
  },
}
SCSS
$custom: #df74e8;
$custom-light: #eba0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#df74e8",
  "rgb": {
    "r": 223,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 295.345,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.19412,
    "h": 324.4
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#DF74E8
secondary
#CDEDCA
accent
#D41221
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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