#DF9AFF#DF9AFF

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

Color values

HEX#DF9AFF
RGBrgb(223, 154, 255)
HSLhsl(281, 100%, 80%)
HSVhsv(281, 40%, 100%)
CMYKcmyk(12.5%, 39.6%, 0%, 0%)
CIE-LABlab(73.56, 42.97, -40.19)
CIE-LCHlch(73.56, 58.84, 316.91°)
OKLaboklab(78.94% 0.1091 -0.1109)
OKLCHoklch(78.94% 0.156 314.5)
XYZxyz(60.0342, 46.0205, 100.3087)
Luminance0.4602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9AFF #BAFF9A
analogous
#AC9AFF #DF9AFF #FF9AED
triadic
#DF9AFF #FFDF9A #9AFFDF
tetradic
#DF9AFF #FFAC9A #BAFF9A #9AEDFF
square
#DF9AFF #FFAC9A #BAFF9A #9AEDFF
split-complementary
#DF9AFF #EDFF9A #9AFFAC
monochromatic
#B820FF #CC5DFF #DF9AFF #F2D7FF #F5E0FF

Accessibility & contrast

On white

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

On black

10.20
#DF9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9AFF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9AFF#FFFFFF#000000##000000
##DF9AFF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B1FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#DDA8C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #df9aff;
/* rgb */ color: rgb(223, 154, 255);
/* oklch */ color: oklch(78.9% 0.156 314.5);
Tailwind
colors: {
  custom: {
    50: '#eab9ff',
    500: '#df9aff',
    950: '#000000',
  },
}
SCSS
$custom: #df9aff;
$custom-light: #eab9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df9aff",
  "rgb": {
    "r": 223,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 280.99,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78943,
    "c": 0.1556,
    "h": 314.5
  },
  "luminance": 0.46019
}

Semantic roles & 50–950 ramp

primary
#DF9AFF
secondary
#DFF7D4
accent
#E60049
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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