#DF8DFD#DF8DFD

#DF8DFD is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.8% C 0.175 H 316.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#DF8DFD
RGBrgb(223, 141, 253)
HSLhsl(284, 97%, 77%)
HSVhsv(284, 44%, 99%)
CMYKcmyk(11.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(70.75, 49.38, -43.49)
CIE-LCHlch(70.75, 65.80, 318.63°)
OKLaboklab(76.81% 0.1268 -0.1203)
OKLCHoklch(76.81% 0.175 316.5)
XYZxyz(57.6833, 41.8312, 97.9451)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8DFD #ABFD8D
analogous
#A78DFD #DF8DFD #FD8DE3
triadic
#DF8DFD #FDDF8D #8DFDDF
tetradic
#DF8DFD #FDA78D #ABFD8D #8DE3FD
square
#DF8DFD #FDA78D #ABFD8D #8DE3FD
split-complementary
#DF8DFD #E3FD8D #8DFDA7
monochromatic
#BD15FB #CE51FC #DF8DFD #F0C9FE #F7E1FE

Accessibility & contrast

On white

2.24
#DF8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#DF8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8DFD
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8DFD#FFFFFF#000000##000000
##DF8DFD1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#DE9DB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8dfd;
/* rgb */ color: rgb(223, 141, 253);
/* oklch */ color: oklch(76.8% 0.175 316.5);
Tailwind
colors: {
  custom: {
    50: '#ebb0fe',
    500: '#df8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #df8dfd;
$custom-light: #ebb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8dfd",
  "rgb": {
    "r": 223,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 283.929,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76811,
    "c": 0.17484,
    "h": 316.5
  },
  "luminance": 0.4183
}

Semantic roles & 50–950 ramp

primary
#DF8DFD
secondary
#DDF7D4
accent
#E6003D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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