#DF74FB#DF74FB

#DF74FB is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.212 H 318.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DF74FB
RGBrgb(223, 116, 251)
HSLhsl(288, 94%, 72%)
HSVhsv(288, 54%, 98%)
CMYKcmyk(11.2%, 53.8%, 0%, 1.6%)
CIE-LABlab(65.86, 61.48, -50.09)
CIE-LCHlch(65.86, 79.31, 320.83°)
OKLaboklab(73.16% 0.1599 -0.1393)
OKLCHoklch(73.16% 0.212 318.9)
XYZxyz(54.0871, 35.1459, 95.1829)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF74FB #90FB74
analogous
#9C74FB #DF74FB #FB74D3
triadic
#DF74FB #FBDF74 #74FBDF
tetradic
#DF74FB #FB9C74 #90FB74 #74D3FB
square
#DF74FB #FB9C74 #90FB74 #74D3FB
split-complementary
#DF74FB #D3FB74 #74FB9C
monochromatic
#BE07EE #D139F9 #DF74FB #EDAFFD #F8E1FE

Accessibility & contrast

On white

2.62
#DF74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DF74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF74FB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF74FB#FFFFFF#000000##000000
##DF74FB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#DF88AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df74fb;
/* rgb */ color: rgb(223, 116, 251);
/* oklch */ color: oklch(73.2% 0.212 318.9);
Tailwind
colors: {
  custom: {
    50: '#eca0fd',
    500: '#df74fb',
    950: '#000000',
  },
}
SCSS
$custom: #df74fb;
$custom-light: #eca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df74fb",
  "rgb": {
    "r": 223,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 287.556,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73157,
    "c": 0.21205,
    "h": 318.9
  },
  "luminance": 0.35144
}

Semantic roles & 50–950 ramp

primary
#DF74FB
secondary
#DCF6D4
accent
#E60030
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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