#DF8EFD#DF8EFD

#DF8EFD is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.0% C 0.173 H 316.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#DF8EFD
RGBrgb(223, 142, 253)
HSLhsl(284, 97%, 77%)
HSVhsv(284, 44%, 99%)
CMYKcmyk(11.9%, 43.9%, 0%, 0.8%)
CIE-LABlab(70.96, 48.86, -43.17)
CIE-LCHlch(70.96, 65.20, 318.54°)
OKLaboklab(76.96% 0.1255 -0.1194)
OKLCHoklch(76.96% 0.173 316.4)
XYZxyz(57.8314, 42.1275, 97.9945)
Luminance0.4213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EFD #ACFD8E
analogous
#A88EFD #DF8EFD #FD8EE3
triadic
#DF8EFD #FDDF8E #8EFDDF
tetradic
#DF8EFD #FDA88E #ACFD8E #8EE3FD
square
#DF8EFD #FDA88E #ACFD8E #8EE3FD
split-complementary
#DF8EFD #E3FD8E #8EFDA8
monochromatic
#BD16FB #CE52FC #DF8EFD #F0CAFE #F6E1FE

Accessibility & contrast

On white

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

On black

9.43
#DF8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EFD
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EFD#FFFFFF#000000##000000
##DF8EFD1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df8efd;
/* rgb */ color: rgb(223, 142, 253);
/* oklch */ color: oklch(77.0% 0.173 316.4);
Tailwind
colors: {
  custom: {
    50: '#ebb1fe',
    500: '#df8efd',
    950: '#000000',
  },
}
SCSS
$custom: #df8efd;
$custom-light: #ebb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8efd",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 283.784,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76964,
    "c": 0.1732,
    "h": 316.4
  },
  "luminance": 0.42126
}

Semantic roles & 50–950 ramp

primary
#DF8EFD
secondary
#DEF7D4
accent
#E6003E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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