#DF8DFB#DF8DFB

#DF8DFB is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.7% C 0.173 H 317.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#DF8DFB
RGBrgb(223, 141, 251)
HSLhsl(285, 93%, 77%)
HSVhsv(285, 44%, 98%)
CMYKcmyk(11.2%, 43.8%, 0%, 1.6%)
CIE-LABlab(70.67, 48.98, -42.54)
CIE-LCHlch(70.67, 64.88, 319.03°)
OKLaboklab(76.72% 0.1265 -0.1176)
OKLCHoklch(76.72% 0.173 317.1)
XYZxyz(57.3664, 41.7045, 96.2759)
Luminance0.4170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8DFB #A9FB8D
analogous
#A88DFB #DF8DFB #FB8DE0
triadic
#DF8DFB #FBDF8D #8DFBDF
tetradic
#DF8DFB #FBA88D #A9FB8D #8DE0FB
square
#DF8DFB #FBA88D #A9FB8D #8DE0FB
split-complementary
#DF8DFB #E0FB8D #8DFBA8
monochromatic
#BE17F7 #CE52F9 #DF8DFB #F0C8FD #F7E1FE

Accessibility & contrast

On white

2.25
#DF8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#DF8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8DFB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8DFB#FFFFFF#000000##000000
##DF8DFB1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#90B0F8
Tritanopia (blue-blind)
#DE9CB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8dfb;
/* rgb */ color: rgb(223, 141, 251);
/* oklch */ color: oklch(76.7% 0.173 317.1);
Tailwind
colors: {
  custom: {
    50: '#ebb0fd',
    500: '#df8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #df8dfb;
$custom-light: #ebb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8dfb",
  "rgb": {
    "r": 223,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 284.727,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76717,
    "c": 0.17272,
    "h": 317.1
  },
  "luminance": 0.41703
}

Semantic roles & 50–950 ramp

primary
#DF8DFB
secondary
#DDF6D5
accent
#E6003A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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