#DF7DFE#DF7DFE

#DF7DFE is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.5% C 0.201 H 317.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#DF7DFE
RGBrgb(223, 125, 254)
HSLhsl(286, 98%, 74%)
HSVhsv(286, 51%, 100%)
CMYKcmyk(12.2%, 50.8%, 0%, 0.4%)
CIE-LABlab(67.66, 57.69, -48.90)
CIE-LCHlch(67.66, 75.63, 319.72°)
OKLaboklab(74.53% 0.1485 -0.1359)
OKLCHoklch(74.53% 0.201 317.5)
XYZxyz(55.6519, 37.5129, 98.0559)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DFE #9CFE7D
analogous
#9F7DFE #DF7DFE #FE7DDD
triadic
#DF7DFE #FEDF7D #7DFEDF
tetradic
#DF7DFE #FE9F7D #9CFE7D #7DDDFE
square
#DF7DFE #FE9F7D #9CFE7D #7DDDFE
split-complementary
#DF7DFE #DDFE7D #7DFE9F
monochromatic
#C104FD #D040FE #DF7DFE #EEBAFE #F8E1FF

Accessibility & contrast

On white

2.47
#DF7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#DF7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DFE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DFE#FFFFFF#000000##000000
##DF7DFE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#DE90B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7dfe;
/* rgb */ color: rgb(223, 125, 254);
/* oklch */ color: oklch(74.5% 0.201 317.5);
Tailwind
colors: {
  custom: {
    50: '#eba6ff',
    500: '#df7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #df7dfe;
$custom-light: #eba6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dfe",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 285.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74528,
    "c": 0.20129,
    "h": 317.5
  },
  "luminance": 0.37511
}

Semantic roles & 50–950 ramp

primary
#DF7DFE
secondary
#DCF7D4
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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