#DF8CDC#DF8CDC

#DF8CDC is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.2% C 0.143 H 328.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DF8CDC
RGBrgb(223, 140, 220)
HSLhsl(302, 56%, 71%)
HSVhsv(302, 37%, 87%)
CMYKcmyk(0%, 37.2%, 1.3%, 12.5%)
CIE-LABlab(69.19, 43.62, -27.81)
CIE-LCHlch(69.19, 51.73, 327.48°)
OKLaboklab(75.2% 0.1217 -0.0756)
OKLCHoklch(75.2% 0.143 328.2)
XYZxyz(52.7268, 39.6138, 72.5651)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CDC #8CDF8F
analogous
#B88CDF #DF8CDC #DF8CB2
triadic
#DF8CDC #DCDF8C #8CDCDF
tetradic
#DF8CDC #DFB88C #8CDF8F #8CB2DF
square
#DF8CDC #DFB88C #8CDF8F #8CB2DF
split-complementary
#DF8CDC #B2DF8C #8CDFB8
monochromatic
#BC34B7 #D25CCD #DF8CDC #ECBCEB #F8E7F8

Accessibility & contrast

On white

2.35
#DF8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#DF8CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CDC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CDC#FFFFFF#000000##000000
##DF8CDC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#9CADD9
Tritanopia (blue-blind)
#E493AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df8cdc;
/* rgb */ color: rgb(223, 140, 220);
/* oklch */ color: oklch(75.2% 0.143 328.2);
Tailwind
colors: {
  custom: {
    50: '#eaafe7',
    500: '#df8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #df8cdc;
$custom-light: #eaafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cdc",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 302.169,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75196,
    "c": 0.14322,
    "h": 328.2
  },
  "luminance": 0.39611
}

Semantic roles & 50–950 ramp

primary
#DF8CDC
secondary
#D8EED9
accent
#C42721
background
#FEFAFE
surface
#FDF5FC
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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