#DF8FF7#DF8FF7

#DF8FF7 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.8% C 0.165 H 318.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#DF8FF7
RGBrgb(223, 143, 247)
HSLhsl(286, 87%, 76%)
HSVhsv(286, 42%, 97%)
CMYKcmyk(9.7%, 42.1%, 0%, 3.1%)
CIE-LABlab(70.91, 47.15, -39.98)
CIE-LCHlch(70.91, 61.82, 319.70°)
OKLaboklab(76.84% 0.123 -0.1103)
OKLCHoklch(76.84% 0.165 318.1)
XYZxyz(57.0401, 42.0500, 93.0894)
Luminance0.4205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8FF7 #A7F78F
analogous
#AB8FF7 #DF8FF7 #F78FDB
triadic
#DF8FF7 #F7DF8F #8FF7DF
tetradic
#DF8FF7 #F7AB8F #A7F78F #8FDBF7
square
#DF8FF7 #F7AB8F #A7F78F #8FDBF7
split-complementary
#DF8FF7 #DBF78F #8FF7AB
monochromatic
#BE1DEF #CF56F3 #DF8FF7 #EFC8FB #F7E2FD

Accessibility & contrast

On white

2.23
#DF8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#DF8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8FF7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8FF7#FFFFFF#000000##000000
##DF8FF71.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#DF9DB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8ff7;
/* rgb */ color: rgb(223, 143, 247);
/* oklch */ color: oklch(76.8% 0.165 318.1);
Tailwind
colors: {
  custom: {
    50: '#eab1fa',
    500: '#df8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #df8ff7;
$custom-light: #eab1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ff7",
  "rgb": {
    "r": 223,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 286.154,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76839,
    "c": 0.16521,
    "h": 318.1
  },
  "luminance": 0.42048
}

Semantic roles & 50–950 ramp

primary
#DF8FF7
secondary
#DDF5D6
accent
#E30236
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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