#D7A0EB#D7A0EB

#D7A0EB is a light, moderate purple. Relative luminance 0.456; OKLCH L 78.3% C 0.119 H 316.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D7A0EB
RGBrgb(215, 160, 235)
HSLhsl(284, 65%, 77%)
HSVhsv(284, 32%, 92%)
CMYKcmyk(8.5%, 31.9%, 0%, 7.8%)
CIE-LABlab(73.28, 33.32, -29.83)
CIE-LCHlch(73.28, 44.72, 318.16°)
OKLaboklab(78.28% 0.0869 -0.0816)
OKLCHoklch(78.28% 0.119 316.8)
XYZxyz(55.5883, 45.5880, 84.4522)
Luminance0.4559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A0EB #B4EBA0
analogous
#B2A0EB #D7A0EB #EBA0D9
triadic
#D7A0EB #EBD7A0 #A0EBD7
tetradic
#D7A0EB #EBB2A0 #B4EBA0 #A0D9EB
square
#D7A0EB #EBB2A0 #B4EBA0 #A0D9EB
split-complementary
#D7A0EB #D9EBA0 #A0EBB2
monochromatic
#AC3BD6 #C26DE0 #D7A0EB #ECD3F6 #F4E6FA

Accessibility & contrast

On white

2.08
#D7A0EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D7A0EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A0EB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A0EB#FFFFFF#000000##000000
##D7A0EB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0EE
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#D7A9BB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d7a0eb;
/* rgb */ color: rgb(215, 160, 235);
/* oklch */ color: oklch(78.3% 0.119 316.8);
Tailwind
colors: {
  custom: {
    50: '#e4bcf1',
    500: '#d7a0eb',
    950: '#000000',
  },
}
SCSS
$custom: #d7a0eb;
$custom-light: #e4bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a0eb",
  "rgb": {
    "r": 215,
    "g": 160,
    "b": 235
  },
  "hsl": {
    "h": 284,
    "s": 65.217,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78284,
    "c": 0.11919,
    "h": 316.8
  },
  "luminance": 0.45587
}

Semantic roles & 50–950 ramp

primary
#D7A0EB
secondary
#E0F1DA
accent
#CD1849
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D7A0EB

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

Preview Lab → · Contrast checker → · Palette generator →

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