#DE8EF2#DE8EF2

#DE8EF2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.3% C 0.161 H 319.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#DE8EF2
RGBrgb(222, 142, 242)
HSLhsl(288, 79%, 75%)
HSVhsv(288, 41%, 95%)
CMYKcmyk(8.3%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.38, 46.41, -38.08)
CIE-LCHlch(70.38, 60.03, 320.63°)
OKLaboklab(76.35% 0.1224 -0.1048)
OKLCHoklch(76.35% 0.161 319.4)
XYZxyz(55.8221, 41.2882, 89.0161)
Luminance0.4129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE8EF2 #A2F28E
analogous
#AC8EF2 #DE8EF2 #F28ED4
triadic
#DE8EF2 #F2DE8E #8EF2DE
tetradic
#DE8EF2 #F2AC8E #A2F28E #8ED4F2
square
#DE8EF2 #F2AC8E #A2F28E #8ED4F2
split-complementary
#DE8EF2 #D4F28E #8EF2AC
monochromatic
#BE20E5 #CE57EC #DE8EF2 #EEC5F8 #F7E4FC

Accessibility & contrast

On white

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

On black

9.26
#DE8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE8EF2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE8EF2#FFFFFF#000000##000000
##DE8EF21.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#DF9BB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #de8ef2;
/* rgb */ color: rgb(222, 142, 242);
/* oklch */ color: oklch(76.3% 0.161 319.4);
Tailwind
colors: {
  custom: {
    50: '#eab1f6',
    500: '#de8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #de8ef2;
$custom-light: #eab1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#de8ef2",
  "rgb": {
    "r": 222,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 288,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7635,
    "c": 0.16113,
    "h": 319.4
  },
  "luminance": 0.41286
}

Semantic roles & 50–950 ramp

primary
#DE8EF2
secondary
#DDF4D7
accent
#DC0A34
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DE8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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