#DF8EFA#DF8EFA

#DF8EFA is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.8% C 0.170 H 317.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#DF8EFA
RGBrgb(223, 142, 250)
HSLhsl(285, 92%, 77%)
HSVhsv(285, 43%, 98%)
CMYKcmyk(10.8%, 43.2%, 0%, 2%)
CIE-LABlab(70.83, 48.27, -41.74)
CIE-LCHlch(70.83, 63.81, 319.15°)
OKLaboklab(76.82% 0.125 -0.1153)
OKLCHoklch(76.82% 0.17 317.3)
XYZxyz(57.3573, 41.9378, 95.4973)
Luminance0.4194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EFA #A9FA8E
analogous
#A98EFA #DF8EFA #FA8EDF
triadic
#DF8EFA #FADF8E #8EFADF
tetradic
#DF8EFA #FAA98E #A9FA8E #8EDFFA
square
#DF8EFA #FAA98E #A9FA8E #8EDFFA
split-complementary
#DF8EFA #DFFA8E #8EFAA9
monochromatic
#BE19F5 #CE53F7 #DF8EFA #F0C9FD #F7E2FE

Accessibility & contrast

On white

2.24
#DF8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#DF8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EFA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EFA#FFFFFF#000000##000000
##DF8EFA1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#DF9DB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8efa;
/* rgb */ color: rgb(223, 142, 250);
/* oklch */ color: oklch(76.8% 0.170 317.3);
Tailwind
colors: {
  custom: {
    50: '#ebb1fc',
    500: '#df8efa',
    950: '#000000',
  },
}
SCSS
$custom: #df8efa;
$custom-light: #ebb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df8efa",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.17003,
    "h": 317.3
  },
  "luminance": 0.41936
}

Semantic roles & 50–950 ramp

primary
#DF8EFA
secondary
#DDF6D5
accent
#E60039
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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