#D7AFE2#D7AFE2

#D7AFE2 is a light, moderate purple. Relative luminance 0.506; OKLCH L 80.6% C 0.083 H 318.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D7AFE2
RGBrgb(215, 175, 226)
HSLhsl(287, 47%, 79%)
HSVhsv(287, 23%, 89%)
CMYKcmyk(4.9%, 22.6%, 0%, 11.4%)
CIE-LABlab(76.44, 23.41, -20.11)
CIE-LCHlch(76.44, 30.87, 319.34°)
OKLaboklab(80.6% 0.0623 -0.0544)
OKLCHoklch(80.6% 0.083 318.9)
XYZxyz(57.0798, 50.5990, 78.6964)
Luminance0.5060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AFE2 #BAE2AF
analogous
#BDAFE2 #D7AFE2 #E2AFD3
triadic
#D7AFE2 #E2D7AF #AFE2D7
tetradic
#D7AFE2 #E2BDAF #BAE2AF #AFD3E2
square
#D7AFE2 #E2BDAF #BAE2AF #AFD3E2
split-complementary
#D7AFE2 #D3E2AF #AFE2BD
monochromatic
#AA55C1 #C182D2 #D7AFE2 #EDDCF2 #F4E9F7

Accessibility & contrast

On white

1.89
#D7AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#D7AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AFE2
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AFE2#FFFFFF#000000##000000
##D7AFE21.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BAE4
Deuteranopia (green-blind)
#B2BEE0
Tritanopia (blue-blind)
#D8B4C1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7afe2;
/* rgb */ color: rgb(215, 175, 226);
/* oklch */ color: oklch(80.6% 0.083 318.9);
Tailwind
colors: {
  custom: {
    50: '#e3c7eb',
    500: '#d7afe2',
    950: '#000000',
  },
}
SCSS
$custom: #d7afe2;
$custom-light: #e3c7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d7afe2",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 287.059,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80595,
    "c": 0.0827,
    "h": 318.9
  },
  "luminance": 0.50598
}

Semantic roles & 50–950 ramp

primary
#D7AFE2
secondary
#88BB7A
accent
#BA2B4A
background
#FEFDFE
surface
#FCF9FD
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #D7AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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