#DE7DEC#DE7DEC

#DE7DEC is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.183 H 322.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DE7DEC
RGBrgb(222, 125, 236)
HSLhsl(292, 74%, 71%)
HSVhsv(292, 47%, 93%)
CMYKcmyk(5.9%, 47%, 0%, 7.5%)
CIE-LABlab(66.71, 53.97, -40.50)
CIE-LCHlch(66.71, 67.48, 323.11°)
OKLaboklab(73.53% 0.1451 -0.1117)
OKLCHoklch(73.53% 0.183 322.4)
XYZxyz(52.5965, 36.2552, 83.5681)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DEC #8BEC7D
analogous
#A67DEC #DE7DEC #EC7DC3
triadic
#DE7DEC #ECDE7D #7DECDE
tetradic
#DE7DEC #ECA67D #8BEC7D #7DC3EC
square
#DE7DEC #ECA67D #8BEC7D #7DC3EC
split-complementary
#DE7DEC #C3EC7D #7DECA6
monochromatic
#BA1ED0 #D048E4 #DE7DEC #ECB2F4 #F8E4FB

Accessibility & contrast

On white

2.55
#DE7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DE7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7DEC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7DEC#FFFFFF#000000##000000
##DE7DEC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#E18BAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de7dec;
/* rgb */ color: rgb(222, 125, 236);
/* oklch */ color: oklch(73.5% 0.183 322.4);
Tailwind
colors: {
  custom: {
    50: '#eaa5f2',
    500: '#de7dec',
    950: '#000000',
  },
}
SCSS
$custom: #de7dec;
$custom-light: #eaa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de7dec",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 292.432,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.18305,
    "h": 322.4
  },
  "luminance": 0.36253
}

Semantic roles & 50–950 ramp

primary
#DE7DEC
secondary
#D7F1D3
accent
#D70F28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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