#DF8AEF#DF8AEF

#DF8AEF is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.7% C 0.165 H 321.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#DF8AEF
RGBrgb(223, 138, 239)
HSLhsl(290, 76%, 74%)
HSVhsv(290, 42%, 94%)
CMYKcmyk(6.7%, 42.3%, 0%, 6.3%)
CIE-LABlab(69.54, 48.20, -37.74)
CIE-LCHlch(69.54, 61.21, 321.94°)
OKLaboklab(75.71% 0.1286 -0.1038)
OKLCHoklch(75.71% 0.165 321.1)
XYZxyz(55.0981, 40.0989, 86.4821)
Luminance0.4010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AEF #9AEF8A
analogous
#AD8AEF #DF8AEF #EF8ACD
triadic
#DF8AEF #EFDF8A #8AEFDF
tetradic
#DF8AEF #EFAD8A #9AEF8A #8ACDEF
square
#DF8AEF #EFAD8A #9AEF8A #8ACDEF
split-complementary
#DF8AEF #CDEF8A #8AEFAD
monochromatic
#C11FE0 #D054E8 #DF8AEF #EEC0F6 #F8E4FB

Accessibility & contrast

On white

2.33
#DF8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#DF8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AEF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AEF#FFFFFF#000000##000000
##DF8AEF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#E196B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df8aef;
/* rgb */ color: rgb(223, 138, 239);
/* oklch */ color: oklch(75.7% 0.165 321.1);
Tailwind
colors: {
  custom: {
    50: '#eaaef4',
    500: '#df8aef',
    950: '#000000',
  },
}
SCSS
$custom: #df8aef;
$custom-light: #eaaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#df8aef",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 290.495,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75706,
    "c": 0.16525,
    "h": 321.1
  },
  "luminance": 0.40097
}

Semantic roles & 50–950 ramp

primary
#DF8AEF
secondary
#DCF3D8
accent
#D80D2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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