#DF9FFD#DF9FFD

#DF9FFD is a light, vivid purple. Relative luminance 0.476; OKLCH L 79.7% C 0.145 H 314.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#DF9FFD
RGBrgb(223, 159, 253)
HSLhsl(281, 96%, 81%)
HSVhsv(281, 37%, 99%)
CMYKcmyk(11.9%, 37.2%, 0%, 0.8%)
CIE-LABlab(74.56, 39.91, -37.56)
CIE-LCHlch(74.56, 54.80, 316.74°)
OKLaboklab(79.67% 0.1016 -0.1034)
OKLCHoklch(79.67% 0.145 314.5)
XYZxyz(60.5564, 47.5774, 98.9028)
Luminance0.4758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9FFD #BDFD9F
analogous
#B09FFD #DF9FFD #FD9FEC
triadic
#DF9FFD #FDDF9F #9FFDDF
tetradic
#DF9FFD #FDB09F #BDFD9F #9FECFD
square
#DF9FFD #FDB09F #BDFD9F #9FECFD
split-complementary
#DF9FFD #ECFD9F #9FFDB0
monochromatic
#B727FB #CB63FC #DF9FFD #F3DBFE #F5E1FE

Accessibility & contrast

On white

2.00
#DF9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#DF9FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9FFD
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9FFD#FFFFFF#000000##000000
##DF9FFD1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#9FB9FA
Tritanopia (blue-blind)
#DDABC2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #df9ffd;
/* rgb */ color: rgb(223, 159, 253);
/* oklch */ color: oklch(79.7% 0.145 314.5);
Tailwind
colors: {
  custom: {
    50: '#eabcfe',
    500: '#df9ffd',
    950: '#000000',
  },
}
SCSS
$custom: #df9ffd;
$custom-light: #eabcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#df9ffd",
  "rgb": {
    "r": 223,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 280.851,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79669,
    "c": 0.145,
    "h": 314.5
  },
  "luminance": 0.47576
}

Semantic roles & 50–950 ramp

primary
#DF9FFD
secondary
#DFF7D4
accent
#E60049
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DF9FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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