#DF9AFE#DF9AFE

#DF9AFE is a light, vivid purple. Relative luminance 0.460; OKLCH L 78.9% C 0.154 H 314.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#DF9AFE
RGBrgb(223, 154, 254)
HSLhsl(281, 98%, 80%)
HSVhsv(281, 39%, 100%)
CMYKcmyk(12.2%, 39.4%, 0%, 0.4%)
CIE-LABlab(73.52, 42.77, -39.72)
CIE-LCHlch(73.52, 58.37, 317.12°)
OKLaboklab(78.9% 0.1089 -0.1096)
OKLCHoklch(78.9% 0.154 314.8)
XYZxyz(59.8736, 45.9563, 99.4631)
Luminance0.4596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9AFE #B9FE9A
analogous
#AD9AFE #DF9AFE #FE9AEB
triadic
#DF9AFE #FEDF9A #9AFEDF
tetradic
#DF9AFE #FEAD9A #B9FE9A #9AEBFE
square
#DF9AFE #FEAD9A #B9FE9A #9AEBFE
split-complementary
#DF9AFE #EBFE9A #9AFEAD
monochromatic
#B921FD #CC5DFD #DF9AFE #F2D7FF #F5E1FF

Accessibility & contrast

On white

2.06
#DF9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#DF9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9AFE
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9AFE#FFFFFF#000000##000000
##DF9AFE1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#9AB7FB
Tritanopia (blue-blind)
#DDA8C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #df9afe;
/* rgb */ color: rgb(223, 154, 254);
/* oklch */ color: oklch(78.9% 0.154 314.8);
Tailwind
colors: {
  custom: {
    50: '#eab9ff',
    500: '#df9afe',
    950: '#000000',
  },
}
SCSS
$custom: #df9afe;
$custom-light: #eab9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df9afe",
  "rgb": {
    "r": 223,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 281.4,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.78898,
    "c": 0.15449,
    "h": 314.8
  },
  "luminance": 0.45955
}

Semantic roles & 50–950 ramp

primary
#DF9AFE
secondary
#DFF7D4
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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