#DE8AF7#DE8AF7

#DE8AF7 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.0% C 0.173 H 318.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#DE8AF7
RGBrgb(222, 138, 247)
HSLhsl(286, 87%, 75%)
HSVhsv(286, 44%, 97%)
CMYKcmyk(10.1%, 44.1%, 0%, 3.1%)
CIE-LABlab(69.77, 49.46, -41.76)
CIE-LCHlch(69.77, 64.74, 319.82°)
OKLaboklab(75.97% 0.1289 -0.1154)
OKLCHoklch(75.97% 0.173 318.2)
XYZxyz(55.9989, 40.4237, 92.8304)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8AF7 #A3F78A
analogous
#A88AF7 #DE8AF7 #F78AD9
triadic
#DE8AF7 #F7DE8A #8AF7DE
tetradic
#DE8AF7 #F7A88A #A3F78A #8AD9F7
square
#DE8AF7 #F7A88A #A3F78A #8AD9F7
split-complementary
#DE8AF7 #D9F78A #8AF7A8
monochromatic
#BE17EF #CE51F3 #DE8AF7 #EEC3FB #F7E2FD

Accessibility & contrast

On white

2.31
#DE8AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#DE8AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8AF7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8AF7#FFFFFF#000000##000000
##DE8AF71.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#8FADF4
Tritanopia (blue-blind)
#DE99B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #de8af7;
/* rgb */ color: rgb(222, 138, 247);
/* oklch */ color: oklch(76.0% 0.173 318.2);
Tailwind
colors: {
  custom: {
    50: '#eaaefa',
    500: '#de8af7',
    950: '#000000',
  },
}
SCSS
$custom: #de8af7;
$custom-light: #eaaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#de8af7",
  "rgb": {
    "r": 222,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 286.239,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75966,
    "c": 0.17295,
    "h": 318.2
  },
  "luminance": 0.40422
}

Semantic roles & 50–950 ramp

primary
#DE8AF7
secondary
#DDF5D6
accent
#E40236
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE8AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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