#DE8EF7#DE8EF7

#DE8EF7 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.6% C 0.166 H 317.8°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#DE8EF7
RGBrgb(222, 142, 247)
HSLhsl(286, 87%, 76%)
HSVhsv(286, 43%, 97%)
CMYKcmyk(10.1%, 42.5%, 0%, 3.1%)
CIE-LABlab(70.59, 47.39, -40.49)
CIE-LCHlch(70.59, 62.33, 319.49°)
OKLaboklab(76.58% 0.1233 -0.1117)
OKLCHoklch(76.58% 0.166 317.8)
XYZxyz(56.5834, 41.5927, 93.0252)
Luminance0.4159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8EF7 #A7F78E
analogous
#AA8EF7 #DE8EF7 #F78EDC
triadic
#DE8EF7 #F7DE8E #8EF7DE
tetradic
#DE8EF7 #F7AA8E #A7F78E #8EDCF7
square
#DE8EF7 #F7AA8E #A7F78E #8EDCF7
split-complementary
#DE8EF7 #DCF78E #8EF7AA
monochromatic
#BD1CEF #CD55F3 #DE8EF7 #EFC7FB #F7E2FD

Accessibility & contrast

On white

2.25
#DE8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#DE8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8EF7
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8EF7#FFFFFF#000000##000000
##DE8EF71.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#92AFF4
Tritanopia (blue-blind)
#DE9CB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #de8ef7;
/* rgb */ color: rgb(222, 142, 247);
/* oklch */ color: oklch(76.6% 0.166 317.8);
Tailwind
colors: {
  custom: {
    50: '#eab1fa',
    500: '#de8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #de8ef7;
$custom-light: #eab1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#de8ef7",
  "rgb": {
    "r": 222,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 285.714,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76578,
    "c": 0.16637,
    "h": 317.8
  },
  "luminance": 0.41591
}

Semantic roles & 50–950 ramp

primary
#DE8EF7
secondary
#DDF5D6
accent
#E30238
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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