#DF7DF5#DF7DF5

#DF7DF5 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.1% C 0.192 H 320.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DF7DF5
RGBrgb(223, 125, 245)
HSLhsl(289, 86%, 73%)
HSVhsv(289, 49%, 96%)
CMYKcmyk(9%, 49%, 0%, 3.9%)
CIE-LABlab(67.24, 55.95, -44.63)
CIE-LCHlch(67.24, 71.57, 321.42°)
OKLaboklab(74.08% 0.1475 -0.1235)
OKLCHoklch(74.08% 0.192 320)
XYZxyz(54.2444, 36.9499, 90.6432)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DF5 #93F57D
analogous
#A37DF5 #DF7DF5 #F57DCF
triadic
#DF7DF5 #F5DF7D #7DF5DF
tetradic
#DF7DF5 #F5A37D #93F57D #7DCFF5
square
#DF7DF5 #F5A37D #93F57D #7DCFF5
split-complementary
#DF7DF5 #CFF57D #7DF5A3
monochromatic
#BF12E6 #D144F1 #DF7DF5 #EDB6F9 #F8E3FD

Accessibility & contrast

On white

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

On black

8.39
#DF7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DF5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DF5#FFFFFF#000000##000000
##DF7DF51.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#E08DAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7df5;
/* rgb */ color: rgb(223, 125, 245);
/* oklch */ color: oklch(74.1% 0.192 320.0);
Tailwind
colors: {
  custom: {
    50: '#eba6f9',
    500: '#df7df5',
    950: '#000000',
  },
}
SCSS
$custom: #df7df5;
$custom-light: #eba6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7df5",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 289,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.19236,
    "h": 320
  },
  "luminance": 0.36948
}

Semantic roles & 50–950 ramp

primary
#DF7DF5
secondary
#DCF5D6
accent
#E2032C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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