#DF8AF8#DF8AF8

#DF8AF8 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.1% C 0.174 H 318.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#DF8AF8
RGBrgb(223, 138, 248)
HSLhsl(286, 89%, 76%)
HSVhsv(286, 44%, 97%)
CMYKcmyk(10.1%, 44.4%, 0%, 2.7%)
CIE-LABlab(69.93, 49.94, -42.06)
CIE-LCHlch(69.93, 65.29, 319.90°)
OKLaboklab(76.12% 0.1302 -0.1162)
OKLCHoklch(76.12% 0.174 318.2)
XYZxyz(56.4609, 40.6441, 93.6596)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AF8 #A3F88A
analogous
#A88AF8 #DF8AF8 #F88ADA
triadic
#DF8AF8 #F8DF8A #8AF8DF
tetradic
#DF8AF8 #F8A88A #A3F88A #8ADAF8
square
#DF8AF8 #F8A88A #A3F88A #8ADAF8
split-complementary
#DF8AF8 #DAF88A #8AF8A8
monochromatic
#BF17F1 #CF50F5 #DF8AF8 #EFC4FB #F7E2FD

Accessibility & contrast

On white

2.30
#DF8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#DF8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AF8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AF8#FFFFFF#000000##000000
##DF8AF81.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#8FAEF5
Tritanopia (blue-blind)
#DF99B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #df8af8;
/* rgb */ color: rgb(223, 138, 248);
/* oklch */ color: oklch(76.1% 0.174 318.2);
Tailwind
colors: {
  custom: {
    50: '#ebaefb',
    500: '#df8af8',
    950: '#000000',
  },
}
SCSS
$custom: #df8af8;
$custom-light: #ebaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#df8af8",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 286.364,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76121,
    "c": 0.17448,
    "h": 318.2
  },
  "luminance": 0.40642
}

Semantic roles & 50–950 ramp

primary
#DF8AF8
secondary
#DDF5D6
accent
#E50034
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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