#DF8AFA#DF8AFA

#DF8AFA is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.2% C 0.177 H 317.6°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#DF8AFA
RGBrgb(223, 138, 250)
HSLhsl(286, 92%, 76%)
HSVhsv(286, 45%, 98%)
CMYKcmyk(10.8%, 44.8%, 0%, 2%)
CIE-LABlab(70.01, 50.34, -43.01)
CIE-LCHlch(70.01, 66.21, 319.49°)
OKLaboklab(76.22% 0.1305 -0.1189)
OKLCHoklch(76.22% 0.177 317.6)
XYZxyz(56.7728, 40.7688, 95.3025)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AFA #A5FA8A
analogous
#A78AFA #DF8AFA #FA8ADD
triadic
#DF8AFA #FADF8A #8AFADF
tetradic
#DF8AFA #FAA78A #A5FA8A #8ADDFA
square
#DF8AFA #FAA78A #A5FA8A #8ADDFA
split-complementary
#DF8AFA #DDFA8A #8AFAA7
monochromatic
#BF15F5 #CF4FF7 #DF8AFA #EFC5FD #F7E2FE

Accessibility & contrast

On white

2.29
#DF8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#DF8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AFA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AFA#FFFFFF#000000##000000
##DF8AFA1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#DF99B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #df8afa;
/* rgb */ color: rgb(223, 138, 250);
/* oklch */ color: oklch(76.2% 0.177 317.6);
Tailwind
colors: {
  custom: {
    50: '#ebaefc',
    500: '#df8afa',
    950: '#000000',
  },
}
SCSS
$custom: #df8afa;
$custom-light: #ebaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#df8afa",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 285.536,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76215,
    "c": 0.17656,
    "h": 317.6
  },
  "luminance": 0.40767
}

Semantic roles & 50–950 ramp

primary
#DF8AFA
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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