#DF9DFD#DF9DFD

#DF9DFD is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.3% C 0.148 H 314.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#DF9DFD
RGBrgb(223, 157, 253)
HSLhsl(281, 96%, 80%)
HSVhsv(281, 38%, 99%)
CMYKcmyk(11.9%, 37.9%, 0%, 0.8%)
CIE-LABlab(74.12, 40.97, -38.23)
CIE-LCHlch(74.12, 56.04, 316.98°)
OKLaboklab(79.34% 0.1045 -0.1053)
OKLCHoklch(79.34% 0.148 314.8)
XYZxyz(60.2152, 46.8951, 98.7891)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9DFD #BBFD9D
analogous
#AF9DFD #DF9DFD #FD9DEB
triadic
#DF9DFD #FDDF9D #9DFDDF
tetradic
#DF9DFD #FDAF9D #BBFD9D #9DEBFD
square
#DF9DFD #FDAF9D #BBFD9D #9DEBFD
split-complementary
#DF9DFD #EBFD9D #9DFDAF
monochromatic
#B825FB #CB61FC #DF9DFD #F3D9FE #F5E1FE

Accessibility & contrast

On white

2.02
#DF9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#DF9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9DFD
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9DFD#FFFFFF#000000##000000
##DF9DFD1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#9DB8FA
Tritanopia (blue-blind)
#DDAAC1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #df9dfd;
/* rgb */ color: rgb(223, 157, 253);
/* oklch */ color: oklch(79.3% 0.148 314.8);
Tailwind
colors: {
  custom: {
    50: '#eabbfe',
    500: '#df9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #df9dfd;
$custom-light: #eabbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#df9dfd",
  "rgb": {
    "r": 223,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 281.25,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.14836,
    "h": 314.8
  },
  "luminance": 0.46894
}

Semantic roles & 50–950 ramp

primary
#DF9DFD
secondary
#DFF7D4
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DF9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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