#DE8CFA#DE8CFA

#DE8CFA is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.173 H 317.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#DE8CFA
RGBrgb(222, 140, 250)
HSLhsl(285, 92%, 76%)
HSVhsv(285, 44%, 98%)
CMYKcmyk(11.2%, 44%, 0%, 2%)
CIE-LABlab(70.31, 49.02, -42.56)
CIE-LCHlch(70.31, 64.92, 319.04°)
OKLaboklab(76.41% 0.1266 -0.1177)
OKLCHoklch(76.41% 0.173 317.1)
XYZxyz(56.7551, 41.1896, 95.3846)
Luminance0.4119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8CFA #A8FA8C
analogous
#A78CFA #DE8CFA #FA8CDF
triadic
#DE8CFA #FADE8C #8CFADE
tetradic
#DE8CFA #FAA78C #A8FA8C #8CDFFA
square
#DE8CFA #FAA78C #A8FA8C #8CDFFA
split-complementary
#DE8CFA #DFFA8C #8CFAA7
monochromatic
#BC17F5 #CD51F7 #DE8CFA #EFC7FD #F7E2FE

Accessibility & contrast

On white

2.27
#DE8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#DE8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8CFA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8CFA#FFFFFF#000000##000000
##DE8CFA1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#DD9BB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #de8cfa;
/* rgb */ color: rgb(222, 140, 250);
/* oklch */ color: oklch(76.4% 0.173 317.1);
Tailwind
colors: {
  custom: {
    50: '#eaaffc',
    500: '#de8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #de8cfa;
$custom-light: #eaaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#de8cfa",
  "rgb": {
    "r": 222,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 284.727,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76411,
    "c": 0.17283,
    "h": 317.1
  },
  "luminance": 0.41188
}

Semantic roles & 50–950 ramp

primary
#DE8CFA
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DE8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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