#DE7CF8#DE7CF8

#DE7CF8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 74.0% C 0.196 H 318.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DE7CF8
RGBrgb(222, 124, 248)
HSLhsl(287, 90%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(10.5%, 50%, 0%, 2.7%)
CIE-LABlab(67.07, 56.75, -46.55)
CIE-LCHlch(67.07, 73.40, 320.64°)
OKLaboklab(73.97% 0.148 -0.1291)
OKLCHoklch(73.97% 0.196 318.9)
XYZxyz(54.2729, 36.7242, 93.0183)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7CF8 #96F87C
analogous
#A07CF8 #DE7CF8 #F87CD4
triadic
#DE7CF8 #F8DE7C #7CF8DE
tetradic
#DE7CF8 #F8A07C #96F87C #7CD4F8
square
#DE7CF8 #F8A07C #96F87C #7CD4F8
split-complementary
#DE7CF8 #D4F87C #7CF8A0
monochromatic
#BE0DED #CF42F5 #DE7CF8 #EDB6FB #F8E2FD

Accessibility & contrast

On white

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

On black

8.34
#DE7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7CF8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7CF8#FFFFFF#000000##000000
##DE7CF81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#DE8EAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7cf8;
/* rgb */ color: rgb(222, 124, 248);
/* oklch */ color: oklch(74.0% 0.196 318.9);
Tailwind
colors: {
  custom: {
    50: '#eba5fb',
    500: '#de7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #de7cf8;
$custom-light: #eba5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de7cf8",
  "rgb": {
    "r": 222,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 287.419,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73974,
    "c": 0.1964,
    "h": 318.9
  },
  "luminance": 0.36722
}

Semantic roles & 50–950 ramp

primary
#DE7CF8
secondary
#DCF6D5
accent
#E60030
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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