#DF8EF6#DF8EF6

#DF8EF6 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.6% C 0.166 H 318.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#DF8EF6
RGBrgb(223, 142, 246)
HSLhsl(287, 85%, 76%)
HSVhsv(287, 42%, 96%)
CMYKcmyk(9.3%, 42.3%, 0%, 3.5%)
CIE-LABlab(70.66, 47.48, -39.83)
CIE-LCHlch(70.66, 61.97, 320.01°)
OKLaboklab(76.64% 0.1243 -0.1098)
OKLCHoklch(76.64% 0.166 318.5)
XYZxyz(56.7367, 41.6896, 92.2291)
Luminance0.4169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EF6 #A5F68E
analogous
#AB8EF6 #DF8EF6 #F68ED9
triadic
#DF8EF6 #F6DF8E #8EF6DF
tetradic
#DF8EF6 #F6AB8E #A5F68E #8ED9F6
square
#DF8EF6 #F6AB8E #A5F68E #8ED9F6
split-complementary
#DF8EF6 #D9F68E #8EF6AB
monochromatic
#BF1DED #CF55F1 #DF8EF6 #EFC7FB #F7E3FD

Accessibility & contrast

On white

2.25
#DF8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#DF8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EF6
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EF6#FFFFFF#000000##000000
##DF8EF61.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7FA
Deuteranopia (green-blind)
#93B0F3
Tritanopia (blue-blind)
#DF9BB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8ef6;
/* rgb */ color: rgb(223, 142, 246);
/* oklch */ color: oklch(76.6% 0.166 318.5);
Tailwind
colors: {
  custom: {
    50: '#eab1f9',
    500: '#df8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #df8ef6;
$custom-light: #eab1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ef6",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 286.731,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76639,
    "c": 0.16582,
    "h": 318.5
  },
  "luminance": 0.41688
}

Semantic roles & 50–950 ramp

primary
#DF8EF6
secondary
#DDF5D6
accent
#E20435
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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