#DF8CD6#DF8CD6

#DF8CD6 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.0% C 0.138 H 330.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#DF8CD6
RGBrgb(223, 140, 214)
HSLhsl(307, 56%, 71%)
HSVhsv(307, 37%, 87%)
CMYKcmyk(0%, 37.2%, 4%, 12.5%)
CIE-LABlab(68.97, 42.55, -24.84)
CIE-LCHlch(68.97, 49.27, 329.73°)
OKLaboklab(74.95% 0.1202 -0.0672)
OKLCHoklch(74.95% 0.138 330.8)
XYZxyz(51.9464, 39.3016, 68.4550)
Luminance0.3930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CD6 #8CDF95
analogous
#BE8CDF #DF8CD6 #DF8CAC
triadic
#DF8CD6 #D6DF8C #8CD6DF
tetradic
#DF8CD6 #DFBE8C #8CDF95 #8CACDF
square
#DF8CD6 #DFBE8C #8CDF95 #8CACDF
split-complementary
#DF8CD6 #ACDF8C #8CDFBE
monochromatic
#BC34AD #D25CC5 #DF8CD6 #ECBCE7 #F8E7F6

Accessibility & contrast

On white

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

On black

8.86
#DF8CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CD6
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CD6#FFFFFF#000000##000000
##DF8CD61.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df8cd6;
/* rgb */ color: rgb(223, 140, 214);
/* oklch */ color: oklch(75.0% 0.138 330.8);
Tailwind
colors: {
  custom: {
    50: '#eaafe2',
    500: '#df8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #df8cd6;
$custom-light: #eaafe2;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cd6",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 306.506,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74953,
    "c": 0.13769,
    "h": 330.8
  },
  "luminance": 0.39299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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