#DF8CFD#DF8CFD

#DF8CFD is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.7% C 0.176 H 316.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#DF8CFD
RGBrgb(223, 140, 253)
HSLhsl(284, 97%, 77%)
HSVhsv(284, 45%, 99%)
CMYKcmyk(11.9%, 44.7%, 0%, 0.8%)
CIE-LABlab(70.55, 49.90, -43.81)
CIE-LCHlch(70.55, 66.40, 318.72°)
OKLaboklab(76.66% 0.1282 -0.1212)
OKLCHoklch(76.66% 0.176 316.6)
XYZxyz(57.5365, 41.5377, 97.8962)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CFD #AAFD8C
analogous
#A78CFD #DF8CFD #FD8CE2
triadic
#DF8CFD #FDDF8C #8CFDDF
tetradic
#DF8CFD #FDA78C #AAFD8C #8CE2FD
square
#DF8CFD #FDA78C #AAFD8C #8CE2FD
split-complementary
#DF8CFD #E2FD8C #8CFDA7
monochromatic
#BE14FB #CE50FC #DF8CFD #F0C8FE #F7E1FE

Accessibility & contrast

On white

2.26
#DF8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#DF8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CFD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CFD#FFFFFF#000000##000000
##DF8CFD1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#DE9CB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8cfd;
/* rgb */ color: rgb(223, 140, 253);
/* oklch */ color: oklch(76.7% 0.176 316.6);
Tailwind
colors: {
  custom: {
    50: '#ebaffe',
    500: '#df8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #df8cfd;
$custom-light: #ebaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cfd",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 284.071,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7666,
    "c": 0.17646,
    "h": 316.6
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#DF8CFD
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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