#DE7DEF#DE7DEF

#DE7DEF is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.186 H 321.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DE7DEF
RGBrgb(222, 125, 239)
HSLhsl(291, 78%, 71%)
HSVhsv(291, 48%, 94%)
CMYKcmyk(7.1%, 47.7%, 0%, 6.3%)
CIE-LABlab(66.85, 54.53, -41.95)
CIE-LCHlch(66.85, 68.80, 322.43°)
OKLaboklab(73.68% 0.1455 -0.1158)
OKLCHoklch(73.68% 0.186 321.5)
XYZxyz(53.0360, 36.4310, 85.8828)
Luminance0.3643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DEF #8EEF7D
analogous
#A57DEF #DE7DEF #EF7DC7
triadic
#DE7DEF #EFDE7D #7DEFDE
tetradic
#DE7DEF #EFA57D #8EEF7D #7DC7EF
square
#DE7DEF #EFA57D #8EEF7D #7DC7EF
split-complementary
#DE7DEF #C7EF7D #7DEFA5
monochromatic
#BB1AD7 #D047E8 #DE7DEF #ECB3F6 #F8E4FC

Accessibility & contrast

On white

2.53
#DE7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DE7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DEF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DEF#FFFFFF#000000##000000
##DE7DEF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#E08CAB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7def;
/* rgb */ color: rgb(222, 125, 239);
/* oklch */ color: oklch(73.7% 0.186 321.5);
Tailwind
colors: {
  custom: {
    50: '#eaa6f4',
    500: '#de7def',
    950: '#000000',
  },
}
SCSS
$custom: #de7def;
$custom-light: #eaa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#de7def",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 291.053,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.18596,
    "h": 321.5
  },
  "luminance": 0.36429
}

Semantic roles & 50–950 ramp

primary
#DE7DEF
secondary
#DAF3D5
accent
#DA0B2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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