#D7A8EA#D7A8EA

#D7A8EA is a light, moderate purple. Relative luminance 0.484; OKLCH L 79.6% C 0.104 H 316.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D7A8EA
RGBrgb(215, 168, 234)
HSLhsl(283, 61%, 79%)
HSVhsv(283, 28%, 92%)
CMYKcmyk(8.1%, 28.2%, 0%, 8.2%)
CIE-LABlab(75.07, 28.79, -26.53)
CIE-LCHlch(75.07, 39.15, 317.33°)
OKLaboklab(79.64% 0.075 -0.0723)
OKLCHoklch(79.64% 0.104 316)
XYZxyz(56.8760, 48.3939, 84.1707)
Luminance0.4839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A8EA #BBEAA8
analogous
#B6A8EA #D7A8EA #EAA8DC
triadic
#D7A8EA #EAD7A8 #A8EAD7
tetradic
#D7A8EA #EAB6A8 #BBEAA8 #A8DCEA
square
#D7A8EA #EAB6A8 #BBEAA8 #A8DCEA
split-complementary
#D7A8EA #DCEAA8 #A8EAB6
monochromatic
#AA45D2 #C077DE #D7A8EA #EED9F6 #F4E6F9

Accessibility & contrast

On white

1.97
#D7A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D7A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A8EA
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A8EA#FFFFFF#000000##000000
##D7A8EA1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6ED
Deuteranopia (green-blind)
#A9BAE8
Tritanopia (blue-blind)
#D7B0BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7a8ea;
/* rgb */ color: rgb(215, 168, 234);
/* oklch */ color: oklch(79.6% 0.104 316.0);
Tailwind
colors: {
  custom: {
    50: '#e4c2f1',
    500: '#d7a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #d7a8ea;
$custom-light: #e4c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a8ea",
  "rgb": {
    "r": 215,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 282.727,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79642,
    "c": 0.10414,
    "h": 316
  },
  "luminance": 0.48393
}

Semantic roles & 50–950 ramp

primary
#D7A8EA
secondary
#E1F0DB
accent
#C91D4E
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#151216
muted
#848184

Preview Lab

Preview with #D7A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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