#DFA1EB#DFA1EB

#DFA1EB is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.2% C 0.122 H 320.9°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#DFA1EB
RGBrgb(223, 161, 235)
HSLhsl(290, 65%, 78%)
HSVhsv(290, 31%, 92%)
CMYKcmyk(5.1%, 31.5%, 0%, 7.8%)
CIE-LABlab(74.30, 35.27, -28.19)
CIE-LCHlch(74.30, 45.15, 321.37°)
OKLaboklab(79.25% 0.0945 -0.0768)
OKLCHoklch(79.25% 0.122 320.9)
XYZxyz(58.1698, 47.1775, 84.6231)
Luminance0.4718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA1EB #ADEBA1
analogous
#BAA1EB #DFA1EB #EBA1D2
triadic
#DFA1EB #EBDFA1 #A1EBDF
tetradic
#DFA1EB #EBBAA1 #ADEBA1 #A1D2EB
square
#DFA1EB #EBBAA1 #ADEBA1 #A1D2EB
split-complementary
#DFA1EB #D2EBA1 #A1EBBA
monochromatic
#BD3CD6 #CE6FE0 #DFA1EB #F0D3F6 #F6E6FA

Accessibility & contrast

On white

2.01
#DFA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#DFA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA1EB
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA1EB#FFFFFF#000000##000000
##DFA1EB1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2EE
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#E1A9BC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dfa1eb;
/* rgb */ color: rgb(223, 161, 235);
/* oklch */ color: oklch(79.2% 0.122 320.9);
Tailwind
colors: {
  custom: {
    50: '#eabdf1',
    500: '#dfa1eb',
    950: '#000000',
  },
}
SCSS
$custom: #dfa1eb;
$custom-light: #eabdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa1eb",
  "rgb": {
    "r": 223,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 290.27,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.12177,
    "h": 320.9
  },
  "luminance": 0.47176
}

Semantic roles & 50–950 ramp

primary
#DFA1EB
secondary
#DEF1DA
accent
#CD1936
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DFA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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