#DF8DFA#DF8DFA

#DF8DFA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.7% C 0.172 H 317.4°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#DF8DFA
RGBrgb(223, 141, 250)
HSLhsl(285, 92%, 77%)
HSVhsv(285, 44%, 98%)
CMYKcmyk(10.8%, 43.6%, 0%, 2%)
CIE-LABlab(70.62, 48.79, -42.06)
CIE-LCHlch(70.62, 64.41, 319.23°)
OKLaboklab(76.67% 0.1263 -0.1162)
OKLCHoklch(76.67% 0.172 317.4)
XYZxyz(57.2092, 41.6416, 95.4480)
Luminance0.4164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8DFA #A8FA8D
analogous
#A98DFA #DF8DFA #FA8DDE
triadic
#DF8DFA #FADF8D #8DFADF
tetradic
#DF8DFA #FAA98D #A8FA8D #8DDEFA
square
#DF8DFA #FAA98D #A8FA8D #8DDEFA
split-complementary
#DF8DFA #DEFA8D #8DFAA9
monochromatic
#BE18F5 #CF52F7 #DF8DFA #EFC8FD #F7E2FE

Accessibility & contrast

On white

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

On black

9.33
#DF8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8DFA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8DFA#FFFFFF#000000##000000
##DF8DFA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#91AFF7
Tritanopia (blue-blind)
#DF9CB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8dfa;
/* rgb */ color: rgb(223, 141, 250);
/* oklch */ color: oklch(76.7% 0.172 317.4);
Tailwind
colors: {
  custom: {
    50: '#ebb0fc',
    500: '#df8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #df8dfa;
$custom-light: #ebb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df8dfa",
  "rgb": {
    "r": 223,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 285.138,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7667,
    "c": 0.17167,
    "h": 317.4
  },
  "luminance": 0.4164
}

Semantic roles & 50–950 ramp

primary
#DF8DFA
secondary
#DDF6D5
accent
#E60039
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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