#DE8AFA#DE8AFA

#DE8AFA is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.1% C 0.176 H 317.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#DE8AFA
RGBrgb(222, 138, 250)
HSLhsl(285, 92%, 76%)
HSVhsv(285, 45%, 98%)
CMYKcmyk(11.2%, 44.8%, 0%, 2%)
CIE-LABlab(69.90, 50.06, -43.20)
CIE-LCHlch(69.90, 66.12, 319.21°)
OKLaboklab(76.11% 0.1293 -0.1195)
OKLCHoklch(76.11% 0.176 317.3)
XYZxyz(56.4655, 40.6104, 95.2881)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8AFA #A6FA8A
analogous
#A68AFA #DE8AFA #FA8ADE
triadic
#DE8AFA #FADE8A #8AFADE
tetradic
#DE8AFA #FAA68A #A6FA8A #8ADEFA
square
#DE8AFA #FAA68A #A6FA8A #8ADEFA
split-complementary
#DE8AFA #DEFA8A #8AFAA6
monochromatic
#BD15F5 #CD4FF7 #DE8AFA #EFC5FD #F7E2FE

Accessibility & contrast

On white

2.30
#DE8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#DE8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8AFA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8AFA#FFFFFF#000000##000000
##DE8AFA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#DD99B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #de8afa;
/* rgb */ color: rgb(222, 138, 250);
/* oklch */ color: oklch(76.1% 0.176 317.3);
Tailwind
colors: {
  custom: {
    50: '#eaaefc',
    500: '#de8afa',
    950: '#000000',
  },
}
SCSS
$custom: #de8afa;
$custom-light: #eaaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#de8afa",
  "rgb": {
    "r": 222,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76107,
    "c": 0.17609,
    "h": 317.3
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#DE8AFA
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DE8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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