#DF8EFC#DF8EFC

#DF8EFC is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.9% C 0.172 H 316.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#DF8EFC
RGBrgb(223, 142, 252)
HSLhsl(284, 95%, 77%)
HSVhsv(284, 44%, 99%)
CMYKcmyk(11.5%, 43.7%, 0%, 1.2%)
CIE-LABlab(70.92, 48.67, -42.69)
CIE-LCHlch(70.92, 64.74, 318.74°)
OKLaboklab(76.92% 0.1253 -0.118)
OKLCHoklch(76.92% 0.172 316.7)
XYZxyz(57.6725, 42.0639, 97.1577)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EFC #ABFC8E
analogous
#A88EFC #DF8EFC #FC8EE2
triadic
#DF8EFC #FCDF8E #8EFCDF
tetradic
#DF8EFC #FCA88E #ABFC8E #8EE2FC
square
#DF8EFC #FCA88E #ABFC8E #8EE2FC
split-complementary
#DF8EFC #E2FC8E #8EFCA8
monochromatic
#BD17F9 #CE52FA #DF8EFC #F0CAFE #F7E1FE

Accessibility & contrast

On white

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

On black

9.41
#DF8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EFC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EFC#FFFFFF#000000##000000
##DF8EFC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#DE9DB9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df8efc;
/* rgb */ color: rgb(223, 142, 252);
/* oklch */ color: oklch(76.9% 0.172 316.7);
Tailwind
colors: {
  custom: {
    50: '#ebb1fd',
    500: '#df8efc',
    950: '#000000',
  },
}
SCSS
$custom: #df8efc;
$custom-light: #ebb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8efc",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 284.182,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76917,
    "c": 0.17214,
    "h": 316.7
  },
  "luminance": 0.42062
}

Semantic roles & 50–950 ramp

primary
#DF8EFC
secondary
#DDF6D5
accent
#E6003D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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