#DF9DF7#DF9DF7

#DF9DF7 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.1% C 0.142 H 316.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#DF9DF7
RGBrgb(223, 157, 247)
HSLhsl(284, 85%, 79%)
HSVhsv(284, 36%, 97%)
CMYKcmyk(9.7%, 36.4%, 0%, 3.1%)
CIE-LABlab(73.88, 39.76, -35.36)
CIE-LCHlch(73.88, 53.21, 318.36°)
OKLaboklab(79.08% 0.1032 -0.0971)
OKLCHoklch(79.08% 0.142 316.7)
XYZxyz(59.2744, 46.5188, 93.8342)
Luminance0.4652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9DF7 #B5F79D
analogous
#B29DF7 #DF9DF7 #F79DE2
triadic
#DF9DF7 #F7DF9D #9DF7DF
tetradic
#DF9DF7 #F7B29D #B5F79D #9DE2F7
square
#DF9DF7 #F7B29D #B5F79D #9DE2F7
split-complementary
#DF9DF7 #E2F79D #9DF7B2
monochromatic
#BA2CEE #CD64F2 #DF9DF7 #F1D6FC #F6E3FD

Accessibility & contrast

On white

2.04
#DF9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#DF9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9DF7
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9DF7#FFFFFF#000000##000000
##DF9DF71.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB1FA
Deuteranopia (green-blind)
#A0B8F4
Tritanopia (blue-blind)
#DFA8BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #df9df7;
/* rgb */ color: rgb(223, 157, 247);
/* oklch */ color: oklch(79.1% 0.142 316.7);
Tailwind
colors: {
  custom: {
    50: '#eabbfa',
    500: '#df9df7',
    950: '#000000',
  },
}
SCSS
$custom: #df9df7;
$custom-light: #eabbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#df9df7",
  "rgb": {
    "r": 223,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 284,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79079,
    "c": 0.1417,
    "h": 316.7
  },
  "luminance": 0.46517
}

Semantic roles & 50–950 ramp

primary
#DF9DF7
secondary
#DEF5D6
accent
#E1043F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DF9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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