#DF7FED#DF7FED

#DF7FED is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.181 H 322.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DF7FED
RGBrgb(223, 127, 237)
HSLhsl(292, 75%, 71%)
HSVhsv(292, 46%, 93%)
CMYKcmyk(5.9%, 46.4%, 0%, 7.1%)
CIE-LABlab(67.26, 53.43, -40.19)
CIE-LCHlch(67.26, 66.86, 323.05°)
OKLaboklab(73.98% 0.1436 -0.1107)
OKLCHoklch(73.98% 0.181 322.4)
XYZxyz(53.3052, 36.9834, 84.4350)
Luminance0.3698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FED #8DED7F
analogous
#A87FED #DF7FED #ED7FC4
triadic
#DF7FED #EDDF7F #7FEDDF
tetradic
#DF7FED #EDA87F #8DED7F #7FC4ED
square
#DF7FED #EDA87F #8DED7F #7FC4ED
split-complementary
#DF7FED #C4ED7F #7FEDA8
monochromatic
#BD1ED4 #D249E5 #DF7FED #ECB5F5 #F8E4FB

Accessibility & contrast

On white

2.50
#DF7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DF7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FED
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FED#FFFFFF#000000##000000
##DF7FED1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF1
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#E28DAB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7fed;
/* rgb */ color: rgb(223, 127, 237);
/* oklch */ color: oklch(74.0% 0.181 322.4);
Tailwind
colors: {
  custom: {
    50: '#eba7f3',
    500: '#df7fed',
    950: '#000000',
  },
}
SCSS
$custom: #df7fed;
$custom-light: #eba7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fed",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 292.364,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73981,
    "c": 0.18133,
    "h": 322.4
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

primary
#DF7FED
secondary
#D9F2D6
accent
#D80E28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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