#DF8CFC#DF8CFC

#DF8CFC is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.6% C 0.175 H 316.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#DF8CFC
RGBrgb(223, 140, 252)
HSLhsl(284, 95%, 77%)
HSVhsv(284, 44%, 99%)
CMYKcmyk(11.5%, 44.4%, 0%, 1.2%)
CIE-LABlab(70.51, 49.70, -43.33)
CIE-LCHlch(70.51, 65.94, 318.92°)
OKLaboklab(76.61% 0.1281 -0.1199)
OKLCHoklch(76.61% 0.175 316.9)
XYZxyz(57.3776, 41.4741, 97.0594)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CFC #A9FC8C
analogous
#A78CFC #DF8CFC #FC8CE1
triadic
#DF8CFC #FCDF8C #8CFCDF
tetradic
#DF8CFC #FCA78C #A9FC8C #8CE1FC
square
#DF8CFC #FCA78C #A9FC8C #8CE1FC
split-complementary
#DF8CFC #E1FC8C #8CFCA7
monochromatic
#BE15F9 #CE50FA #DF8CFC #F0C8FE #F7E1FE

Accessibility & contrast

On white

2.26
#DF8CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#DF8CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CFC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CFC#FFFFFF#000000##000000
##DF8CFC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#DE9BB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8cfc;
/* rgb */ color: rgb(223, 140, 252);
/* oklch */ color: oklch(76.6% 0.175 316.9);
Tailwind
colors: {
  custom: {
    50: '#ebaffe',
    500: '#df8cfc',
    950: '#000000',
  },
}
SCSS
$custom: #df8cfc;
$custom-light: #ebaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cfc",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 284.464,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.17541,
    "h": 316.9
  },
  "luminance": 0.41472
}

Semantic roles & 50–950 ramp

primary
#DF8CFC
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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