#DDA7EF#DDA7EF

#DDA7EF is a light, moderate purple. Relative luminance 0.492; OKLCH L 80.2% C 0.115 H 317.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#DDA7EF
RGBrgb(221, 167, 239)
HSLhsl(285, 69%, 80%)
HSVhsv(285, 30%, 94%)
CMYKcmyk(7.5%, 30.1%, 0%, 6.3%)
CIE-LABlab(75.60, 32.20, -28.38)
CIE-LCHlch(75.60, 42.93, 318.61°)
OKLaboklab(80.24% 0.0845 -0.0774)
OKLCHoklch(80.24% 0.115 317.5)
XYZxyz(59.2153, 49.2428, 88.0301)
Luminance0.4924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDA7EF #B9EFA7
analogous
#B9A7EF #DDA7EF #EFA7DD
triadic
#DDA7EF #EFDDA7 #A7EFDD
tetradic
#DDA7EF #EFB9A7 #B9EFA7 #A7DDEF
square
#DDA7EF #EFB9A7 #B9EFA7 #A7DDEF
split-complementary
#DDA7EF #DDEFA7 #A7EFB9
monochromatic
#B53FDC #C973E6 #DDA7EF #F1DBF8 #F5E5FA

Accessibility & contrast

On white

1.94
#DDA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#DDA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDA7EF
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDA7EF#FFFFFF#000000##000000
##DDA7EF1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F2
Deuteranopia (green-blind)
#AABCED
Tritanopia (blue-blind)
#DDAFC1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dda7ef;
/* rgb */ color: rgb(221, 167, 239);
/* oklch */ color: oklch(80.2% 0.115 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8c1f4',
    500: '#dda7ef',
    950: '#000000',
  },
}
SCSS
$custom: #dda7ef;
$custom-light: #e8c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dda7ef",
  "rgb": {
    "r": 221,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80239,
    "c": 0.11462,
    "h": 317.5
  },
  "luminance": 0.49242
}

Semantic roles & 50–950 ramp

primary
#DDA7EF
secondary
#DFF2D9
accent
#D11444
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DDA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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