#DF8AFF#DF8AFF

#DF8AFF is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.5% C 0.182 H 316.2°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#DF8AFF
RGBrgb(223, 138, 255)
HSLhsl(284, 100%, 77%)
HSVhsv(284, 46%, 100%)
CMYKcmyk(12.5%, 45.9%, 0%, 0%)
CIE-LABlab(70.24, 51.33, -45.39)
CIE-LCHlch(70.24, 68.52, 318.52°)
OKLaboklab(76.45% 0.1313 -0.1258)
OKLCHoklch(76.45% 0.182 316.2)
XYZxyz(57.5672, 41.0866, 99.4864)
Luminance0.4108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AFF #AAFF8A
analogous
#A58AFF #DF8AFF #FF8AE4
triadic
#DF8AFF #FFDF8A #8AFFDF
tetradic
#DF8AFF #FFA58A #AAFF8A #8AE4FF
square
#DF8AFF #FFA58A #AAFF8A #8AE4FF
split-complementary
#DF8AFF #E4FF8A #8AFFA5
monochromatic
#BE10FF #CE4DFF #DF8AFF #F0C7FF #F7E0FF

Accessibility & contrast

On white

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

On black

9.22
#DF8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AFF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AFF#FFFFFF#000000##000000
##DF8AFF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#8CAEFC
Tritanopia (blue-blind)
#DE9BB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8aff;
/* rgb */ color: rgb(223, 138, 255);
/* oklch */ color: oklch(76.5% 0.182 316.2);
Tailwind
colors: {
  custom: {
    50: '#ebaeff',
    500: '#df8aff',
    950: '#000000',
  },
}
SCSS
$custom: #df8aff;
$custom-light: #ebaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#df8aff",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 283.59,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76454,
    "c": 0.1818,
    "h": 316.2
  },
  "luminance": 0.41085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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