#DE8AF8#DE8AF8

#DE8AF8 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.0% C 0.174 H 317.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#DE8AF8
RGBrgb(222, 138, 248)
HSLhsl(286, 89%, 76%)
HSVhsv(286, 44%, 97%)
CMYKcmyk(10.5%, 44.4%, 0%, 2.7%)
CIE-LABlab(69.81, 49.66, -42.24)
CIE-LCHlch(69.81, 65.20, 319.62°)
OKLaboklab(76.01% 0.129 -0.1167)
OKLCHoklch(76.01% 0.174 317.9)
XYZxyz(56.1536, 40.4856, 93.6452)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8AF8 #A4F88A
analogous
#A78AF8 #DE8AF8 #F88ADB
triadic
#DE8AF8 #F8DE8A #8AF8DE
tetradic
#DE8AF8 #F8A78A #A4F88A #8ADBF8
square
#DE8AF8 #F8A78A #A4F88A #8ADBF8
split-complementary
#DE8AF8 #DBF88A #8AF8A7
monochromatic
#BD17F1 #CE50F5 #DE8AF8 #EEC4FB #F7E2FD

Accessibility & contrast

On white

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

On black

9.10
#DE8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8AF8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8AF8#FFFFFF#000000##000000
##DE8AF81.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#8FADF5
Tritanopia (blue-blind)
#DE99B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #de8af8;
/* rgb */ color: rgb(222, 138, 248);
/* oklch */ color: oklch(76.0% 0.174 317.9);
Tailwind
colors: {
  custom: {
    50: '#eaaefb',
    500: '#de8af8',
    950: '#000000',
  },
}
SCSS
$custom: #de8af8;
$custom-light: #eaaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#de8af8",
  "rgb": {
    "r": 222,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 285.818,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76013,
    "c": 0.174,
    "h": 317.9
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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