#DF8AFE#DF8AFE

#DF8AFE is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.4% C 0.181 H 316.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#DF8AFE
RGBrgb(223, 138, 254)
HSLhsl(284, 98%, 77%)
HSVhsv(284, 46%, 100%)
CMYKcmyk(12.2%, 45.7%, 0%, 0.4%)
CIE-LABlab(70.19, 51.13, -44.92)
CIE-LCHlch(70.19, 68.06, 318.70°)
OKLaboklab(76.41% 0.1311 -0.1244)
OKLCHoklch(76.41% 0.181 316.5)
XYZxyz(57.4067, 41.0224, 98.6408)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AFE #A9FE8A
analogous
#A58AFE #DF8AFE #FE8AE3
triadic
#DF8AFE #FEDF8A #8AFEDF
tetradic
#DF8AFE #FEA58A #A9FE8A #8AE3FE
square
#DF8AFE #FEA58A #A9FE8A #8AE3FE
split-complementary
#DF8AFE #E3FE8A #8AFEA5
monochromatic
#BE11FD #CE4DFD #DF8AFE #F0C7FF #F7E1FF

Accessibility & contrast

On white

2.28
#DF8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#DF8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AFE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AFE#FFFFFF#000000##000000
##DF8AFE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#DE9AB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8afe;
/* rgb */ color: rgb(223, 138, 254);
/* oklch */ color: oklch(76.4% 0.181 316.5);
Tailwind
colors: {
  custom: {
    50: '#ebaeff',
    500: '#df8afe',
    950: '#000000',
  },
}
SCSS
$custom: #df8afe;
$custom-light: #ebaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#df8afe",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 283.966,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76406,
    "c": 0.18075,
    "h": 316.5
  },
  "luminance": 0.41021
}

Semantic roles & 50–950 ramp

primary
#DF8AFE
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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