#DF8CD2#DF8CD2

#DF8CD2 is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.134 H 332.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#DF8CD2
RGBrgb(223, 140, 210)
HSLhsl(309, 56%, 71%)
HSVhsv(309, 37%, 87%)
CMYKcmyk(0%, 37.2%, 5.8%, 12.5%)
CIE-LABlab(68.82, 41.85, -22.84)
CIE-LCHlch(68.82, 47.68, 331.38°)
OKLaboklab(74.8% 0.1191 -0.0616)
OKLCHoklch(74.8% 0.134 332.7)
XYZxyz(51.4419, 39.0998, 65.7977)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CD2 #8CDF99
analogous
#C28CDF #DF8CD2 #DF8CA8
triadic
#DF8CD2 #D2DF8C #8CD2DF
tetradic
#DF8CD2 #DFC28C #8CDF99 #8CA8DF
square
#DF8CD2 #DFC28C #8CDF99 #8CA8DF
split-complementary
#DF8CD2 #A8DF8C #8CDFC2
monochromatic
#BC34A7 #D25CBF #DF8CD2 #ECBCE5 #F8E7F6

Accessibility & contrast

On white

2.38
#DF8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#DF8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CD2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CD2#FFFFFF#000000##000000
##DF8CD21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D5
Deuteranopia (green-blind)
#A0ACCF
Tritanopia (blue-blind)
#E691A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df8cd2;
/* rgb */ color: rgb(223, 140, 210);
/* oklch */ color: oklch(74.8% 0.134 332.7);
Tailwind
colors: {
  custom: {
    50: '#eaafe0',
    500: '#df8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #df8cd2;
$custom-light: #eaafe0;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cd2",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 309.398,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.13412,
    "h": 332.7
  },
  "luminance": 0.39097
}

Semantic roles & 50–950 ramp

primary
#DF8CD2
secondary
#D8EEDC
accent
#C43B21
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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