#DF8CD7#DF8CD7

#DF8CD7 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.0% C 0.139 H 330.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#DF8CD7
RGBrgb(223, 140, 215)
HSLhsl(306, 56%, 71%)
HSVhsv(306, 37%, 87%)
CMYKcmyk(0%, 37.2%, 3.6%, 12.5%)
CIE-LABlab(69.01, 42.73, -25.33)
CIE-LCHlch(69.01, 49.67, 329.34°)
OKLaboklab(74.99% 0.1204 -0.0686)
OKLCHoklch(74.99% 0.139 330.3)
XYZxyz(52.0745, 39.3529, 69.1297)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CD7 #8CDF94
analogous
#BD8CDF #DF8CD7 #DF8CAD
triadic
#DF8CD7 #D7DF8C #8CD7DF
tetradic
#DF8CD7 #DFBD8C #8CDF94 #8CADDF
square
#DF8CD7 #DFBD8C #8CDF94 #8CADDF
split-complementary
#DF8CD7 #ADDF8C #8CDFBD
monochromatic
#BC34AF #D25CC6 #DF8CD7 #ECBCE8 #F8E7F7

Accessibility & contrast

On white

2.37
#DF8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#DF8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CD7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CD7#FFFFFF#000000##000000
##DF8CD71.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A1DA
Deuteranopia (green-blind)
#9EADD4
Tritanopia (blue-blind)
#E592A8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df8cd7;
/* rgb */ color: rgb(223, 140, 215);
/* oklch */ color: oklch(75.0% 0.139 330.3);
Tailwind
colors: {
  custom: {
    50: '#eaafe3',
    500: '#df8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #df8cd7;
$custom-light: #eaafe3;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cd7",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 305.783,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74993,
    "c": 0.13859,
    "h": 330.3
  },
  "luminance": 0.3935
}

Semantic roles & 50–950 ramp

primary
#DF8CD7
secondary
#D8EEDB
accent
#C43121
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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