#DE8CFB#DE8CFB

#DE8CFB is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.5% C 0.174 H 316.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#DE8CFB
RGBrgb(222, 140, 251)
HSLhsl(284, 93%, 77%)
HSVhsv(284, 44%, 98%)
CMYKcmyk(11.6%, 44.2%, 0%, 1.6%)
CIE-LABlab(70.35, 49.22, -43.04)
CIE-LCHlch(70.35, 65.38, 318.84°)
OKLaboklab(76.46% 0.1267 -0.119)
OKLCHoklch(76.46% 0.174 316.8)
XYZxyz(56.9123, 41.2525, 96.2126)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8CFB #A9FB8C
analogous
#A78CFB #DE8CFB #FB8CE1
triadic
#DE8CFB #FBDE8C #8CFBDE
tetradic
#DE8CFB #FBA78C #A9FB8C #8CE1FB
square
#DE8CFB #FBA78C #A9FB8C #8CE1FB
split-complementary
#DE8CFB #E1FB8C #8CFBA7
monochromatic
#BC16F7 #CD51F9 #DE8CFB #EFC7FD #F7E1FE

Accessibility & contrast

On white

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

On black

9.25
#DE8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8CFB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8CFB#FFFFFF#000000##000000
##DE8CFB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#DD9BB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #de8cfb;
/* rgb */ color: rgb(222, 140, 251);
/* oklch */ color: oklch(76.5% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#eaaffd',
    500: '#de8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #de8cfb;
$custom-light: #eaaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#de8cfb",
  "rgb": {
    "r": 222,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 284.324,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.17388,
    "h": 316.8
  },
  "luminance": 0.41251
}

Semantic roles & 50–950 ramp

primary
#DE8CFB
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DE8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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