#DFA1EF#DFA1EF

#DFA1EF is a light, vivid purple. Relative luminance 0.474; OKLCH L 79.4% C 0.126 H 319.3°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#DFA1EF
RGBrgb(223, 161, 239)
HSLhsl(288, 71%, 78%)
HSVhsv(288, 33%, 94%)
CMYKcmyk(6.7%, 32.6%, 0%, 6.3%)
CIE-LABlab(74.45, 36.05, -30.13)
CIE-LCHlch(74.45, 46.98, 320.11°)
OKLaboklab(79.41% 0.0955 -0.0823)
OKLCHoklch(79.41% 0.126 319.3)
XYZxyz(58.7542, 47.4112, 87.7009)
Luminance0.4741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA1EF #B1EFA1
analogous
#B8A1EF #DFA1EF #EFA1D8
triadic
#DFA1EF #EFDFA1 #A1EFDF
tetradic
#DFA1EF #EFB8A1 #B1EFA1 #A1D8EF
square
#DFA1EF #EFB8A1 #B1EFA1 #A1D8EF
split-complementary
#DFA1EF #D8EFA1 #A1EFB8
monochromatic
#BB38DD #CD6DE6 #DFA1EF #F1D5F8 #F6E5FB

Accessibility & contrast

On white

2.00
#DFA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#DFA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA1EF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA1EF#FFFFFF#000000##000000
##DFA1EF1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F2
Deuteranopia (green-blind)
#A6B9ED
Tritanopia (blue-blind)
#E0AABE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dfa1ef;
/* rgb */ color: rgb(223, 161, 239);
/* oklch */ color: oklch(79.4% 0.126 319.3);
Tailwind
colors: {
  custom: {
    50: '#eabdf4',
    500: '#dfa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #dfa1ef;
$custom-light: #eabdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa1ef",
  "rgb": {
    "r": 223,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 287.692,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7941,
    "c": 0.12608,
    "h": 319.3
  },
  "luminance": 0.4741
}

Semantic roles & 50–950 ramp

primary
#DFA1EF
secondary
#DEF2D9
accent
#D3133A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DFA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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