#DF8EF4#DF8EF4

#DF8EF4 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.5% C 0.164 H 319.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#DF8EF4
RGBrgb(223, 142, 244)
HSLhsl(288, 82%, 76%)
HSVhsv(288, 42%, 96%)
CMYKcmyk(8.6%, 41.8%, 0%, 4.3%)
CIE-LABlab(70.57, 47.09, -38.87)
CIE-LCHlch(70.57, 61.05, 320.46°)
OKLaboklab(76.55% 0.1239 -0.107)
OKLCHoklch(76.55% 0.164 319.2)
XYZxyz(56.4314, 41.5675, 90.6211)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EF4 #A3F48E
analogous
#AC8EF4 #DF8EF4 #F48ED6
triadic
#DF8EF4 #F4DF8E #8EF4DF
tetradic
#DF8EF4 #F4AC8E #A3F48E #8ED6F4
square
#DF8EF4 #F4AC8E #A3F48E #8ED6F4
split-complementary
#DF8EF4 #D6F48E #8EF4AC
monochromatic
#BF1EE9 #CF56EF #DF8EF4 #EFC6F9 #F7E3FC

Accessibility & contrast

On white

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

On black

9.31
#DF8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EF4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EF4#FFFFFF#000000##000000
##DF8EF41.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F8
Deuteranopia (green-blind)
#94B0F1
Tritanopia (blue-blind)
#E09BB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8ef4;
/* rgb */ color: rgb(223, 142, 244);
/* oklch */ color: oklch(76.5% 0.164 319.2);
Tailwind
colors: {
  custom: {
    50: '#eab1f8',
    500: '#df8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #df8ef4;
$custom-light: #eab1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ef4",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 287.647,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.16373,
    "h": 319.2
  },
  "luminance": 0.41566
}

Semantic roles & 50–950 ramp

primary
#DF8EF4
secondary
#DDF4D7
accent
#DF0733
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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