#DF7DEF#DF7DEF

#DF7DEF is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.186 H 321.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DF7DEF
RGBrgb(223, 125, 239)
HSLhsl(292, 78%, 71%)
HSVhsv(292, 48%, 94%)
CMYKcmyk(6.7%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.97, 54.81, -41.75)
CIE-LCHlch(66.97, 68.90, 322.70°)
OKLaboklab(73.79% 0.1466 -0.1152)
OKLCHoklch(73.79% 0.186 321.8)
XYZxyz(53.3433, 36.5894, 85.8972)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DEF #8DEF7D
analogous
#A67DEF #DF7DEF #EF7DC6
triadic
#DF7DEF #EFDF7D #7DEFDF
tetradic
#DF7DEF #EFA67D #8DEF7D #7DC6EF
square
#DF7DEF #EFA67D #8DEF7D #7DC6EF
split-complementary
#DF7DEF #C6EF7D #7DEFA6
monochromatic
#BD1AD7 #D247E8 #DF7DEF #ECB3F6 #F8E4FC

Accessibility & contrast

On white

2.52
#DF7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DF7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DEF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DEF#FFFFFF#000000##000000
##DF7DEF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#E18CAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7def;
/* rgb */ color: rgb(223, 125, 239);
/* oklch */ color: oklch(73.8% 0.186 321.8);
Tailwind
colors: {
  custom: {
    50: '#eba6f4',
    500: '#df7def',
    950: '#000000',
  },
}
SCSS
$custom: #df7def;
$custom-light: #eba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7def",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 291.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.18649,
    "h": 321.8
  },
  "luminance": 0.36587
}

Semantic roles & 50–950 ramp

primary
#DF7DEF
secondary
#D9F3D5
accent
#DA0B28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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