#DF8EFE#DF8EFE

#DF8EFE is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.0% C 0.174 H 316.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#DF8EFE
RGBrgb(223, 142, 254)
HSLhsl(283, 98%, 78%)
HSVhsv(283, 44%, 100%)
CMYKcmyk(12.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(71.00, 49.07, -43.64)
CIE-LCHlch(71.00, 65.67, 318.35°)
OKLaboklab(77.01% 0.1256 -0.1208)
OKLCHoklch(77.01% 0.174 316.1)
XYZxyz(57.9911, 42.1913, 98.8356)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EFE #ADFE8E
analogous
#A78EFE #DF8EFE #FE8EE5
triadic
#DF8EFE #FEDF8E #8EFEDF
tetradic
#DF8EFE #FEA78E #ADFE8E #8EE5FE
square
#DF8EFE #FEA78E #ADFE8E #8EE5FE
split-complementary
#DF8EFE #E5FE8E #8EFEA7
monochromatic
#BD15FD #CE51FD #DF8EFE #F0CBFF #F6E1FF

Accessibility & contrast

On white

2.23
#DF8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#DF8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EFE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EFE#FFFFFF#000000##000000
##DF8EFE1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#DE9EBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df8efe;
/* rgb */ color: rgb(223, 142, 254);
/* oklch */ color: oklch(77.0% 0.174 316.1);
Tailwind
colors: {
  custom: {
    50: '#ebb1ff',
    500: '#df8efe',
    950: '#000000',
  },
}
SCSS
$custom: #df8efe;
$custom-light: #ebb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df8efe",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 283.393,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77011,
    "c": 0.17426,
    "h": 316.1
  },
  "luminance": 0.4219
}

Semantic roles & 50–950 ramp

primary
#DF8EFE
secondary
#DEF7D4
accent
#E60040
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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