#DE7DF2#DE7DF2

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

Color values

HEX#DE7DF2
RGBrgb(222, 125, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(8.3%, 48.3%, 0%, 5.1%)
CIE-LABlab(66.98, 55.10, -43.39)
CIE-LCHlch(66.98, 70.14, 321.78°)
OKLaboklab(73.82% 0.1459 -0.12)
OKLCHoklch(73.82% 0.189 320.6)
XYZxyz(53.4829, 36.6098, 88.2363)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7DF2 #91F27D
analogous
#A47DF2 #DE7DF2 #F27DCB
triadic
#DE7DF2 #F2DE7D #7DF2DE
tetradic
#DE7DF2 #F2A47D #91F27D #7DCBF2
square
#DE7DF2 #F2A47D #91F27D #7DCBF2
split-complementary
#DE7DF2 #CBF27D #7DF2A4
monochromatic
#BC16DE #D045EC #DE7DF2 #ECB5F8 #F8E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DE7DF2#FFFFFF#000000##000000
##DE7DF21.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)
#6A9CF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#E08DAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7df2;
/* rgb */ color: rgb(222, 125, 242);
/* oklch */ color: oklch(73.8% 0.189 320.6);
Tailwind
colors: {
  custom: {
    50: '#eaa6f7',
    500: '#de7df2',
    950: '#000000',
  },
}
SCSS
$custom: #de7df2;
$custom-light: #eaa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de7df2",
  "rgb": {
    "r": 222,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 289.744,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7382,
    "c": 0.18891,
    "h": 320.6
  },
  "luminance": 0.36608
}

Semantic roles & 50–950 ramp

primary
#DE7DF2
secondary
#DCF4D7
accent
#DE072C
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DE7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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