#DF8EF9#DF8EF9

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

Color values

HEX#DF8EF9
RGBrgb(223, 142, 249)
HSLhsl(285, 90%, 77%)
HSVhsv(285, 43%, 98%)
CMYKcmyk(10.4%, 43%, 0%, 2.4%)
CIE-LABlab(70.78, 48.07, -41.26)
CIE-LCHlch(70.78, 63.35, 319.36°)
OKLaboklab(76.78% 0.1248 -0.1139)
OKLCHoklch(76.78% 0.169 317.6)
XYZxyz(57.2009, 41.8752, 94.6737)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EF9 #A8F98E
analogous
#AA8EF9 #DF8EF9 #F98EDD
triadic
#DF8EF9 #F9DF8E #8EF9DF
tetradic
#DF8EF9 #F9AA8E #A8F98E #8EDDF9
square
#DF8EF9 #F9AA8E #A8F98E #8EDDF9
split-complementary
#DF8EF9 #DDF98E #8EF9AA
monochromatic
#BE1AF3 #CF54F6 #DF8EF9 #EFC8FC #F7E2FD

Accessibility & contrast

On white

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

On black

9.37
#DF8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EF9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EF9#FFFFFF#000000##000000
##DF8EF91.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#DF9CB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8ef9;
/* rgb */ color: rgb(223, 142, 249);
/* oklch */ color: oklch(76.8% 0.169 317.6);
Tailwind
colors: {
  custom: {
    50: '#ebb1fb',
    500: '#df8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #df8ef9;
$custom-light: #ebb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ef9",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 285.421,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76777,
    "c": 0.16897,
    "h": 317.6
  },
  "luminance": 0.41874
}

Semantic roles & 50–950 ramp

primary
#DF8EF9
secondary
#DDF6D5
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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