#DF8AEB#DF8AEB

#DF8AEB is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.5% C 0.161 H 322.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#DF8AEB
RGBrgb(223, 138, 235)
HSLhsl(293, 71%, 73%)
HSVhsv(293, 41%, 92%)
CMYKcmyk(5.1%, 41.3%, 0%, 7.8%)
CIE-LABlab(69.37, 47.44, -35.80)
CIE-LCHlch(69.37, 59.43, 322.96°)
OKLaboklab(75.53% 0.1278 -0.0982)
OKLCHoklch(75.53% 0.161 322.5)
XYZxyz(54.5137, 39.8652, 83.4044)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8AEB #96EB8A
analogous
#AE8AEB #DF8AEB #EB8AC6
triadic
#DF8AEB #EBDF8A #8AEBDF
tetradic
#DF8AEB #EBAE8A #96EB8A #8AC6EB
square
#DF8AEB #EBAE8A #96EB8A #8AC6EB
split-complementary
#DF8AEB #C6EB8A #8AEBAE
monochromatic
#C025D6 #D156E2 #DF8AEB #EDBEF4 #F8E5FB

Accessibility & contrast

On white

2.34
#DF8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#DF8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8AEB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8AEB#FFFFFF#000000##000000
##DF8AEB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#E295B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df8aeb;
/* rgb */ color: rgb(223, 138, 235);
/* oklch */ color: oklch(75.5% 0.161 322.5);
Tailwind
colors: {
  custom: {
    50: '#eaaef1',
    500: '#df8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #df8aeb;
$custom-light: #eaaef1;
$custom-dark: #000000;
JSON
{
  "hex": "#df8aeb",
  "rgb": {
    "r": 223,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 292.577,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75527,
    "c": 0.16122,
    "h": 322.5
  },
  "luminance": 0.39863
}

Semantic roles & 50–950 ramp

primary
#DF8AEB
secondary
#DCF2D9
accent
#D3132A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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