#DFA7EB#DFA7EB

#DFA7EB is a light, moderate purple. Relative luminance 0.493; OKLCH L 80.3% C 0.111 H 320.3°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#DFA7EB
RGBrgb(223, 167, 235)
HSLhsl(289, 63%, 79%)
HSVhsv(289, 29%, 92%)
CMYKcmyk(5.1%, 28.9%, 0%, 7.8%)
CIE-LABlab(75.65, 32.05, -26.12)
CIE-LCHlch(75.65, 41.35, 320.82°)
OKLaboklab(80.27% 0.0857 -0.071)
OKLCHoklch(80.27% 0.111 320.3)
XYZxyz(59.2436, 49.3250, 84.9810)
Luminance0.4932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA7EB #B3EBA7
analogous
#BDA7EB #DFA7EB #EBA7D5
triadic
#DFA7EB #EBDFA7 #A7EBDF
tetradic
#DFA7EB #EBBDA7 #B3EBA7 #A7D5EB
square
#DFA7EB #EBBDA7 #B3EBA7 #A7D5EB
split-complementary
#DFA7EB #D5EBA7 #A7EBBD
monochromatic
#BB43D4 #CD75E0 #DFA7EB #F1D9F6 #F6E6F9

Accessibility & contrast

On white

1.93
#DFA7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#DFA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA7EB
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA7EB#FFFFFF#000000##000000
##DFA7EB1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB7EE
Deuteranopia (green-blind)
#ACBDE9
Tritanopia (blue-blind)
#E0AEBF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dfa7eb;
/* rgb */ color: rgb(223, 167, 235);
/* oklch */ color: oklch(80.3% 0.111 320.3);
Tailwind
colors: {
  custom: {
    50: '#e9c1f1',
    500: '#dfa7eb',
    950: '#000000',
  },
}
SCSS
$custom: #dfa7eb;
$custom-light: #e9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa7eb",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 289.412,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80275,
    "c": 0.1113,
    "h": 320.3
  },
  "luminance": 0.49324
}

Semantic roles & 50–950 ramp

primary
#DFA7EB
secondary
#DEF1DA
accent
#CB1B3A
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DFA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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