#D2AFE2#D2AFE2

#D2AFE2 is a light, moderate purple. Relative luminance 0.499; OKLCH L 80.1% C 0.080 H 315.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D2AFE2
RGBrgb(210, 175, 226)
HSLhsl(281, 47%, 79%)
HSVhsv(281, 23%, 89%)
CMYKcmyk(7.1%, 22.6%, 0%, 11.4%)
CIE-LABlab(75.98, 21.79, -20.85)
CIE-LCHlch(75.98, 30.16, 316.26°)
OKLaboklab(80.14% 0.0567 -0.0565)
OKLCHoklch(80.14% 0.08 315.1)
XYZxyz(55.6336, 49.8533, 78.6286)
Luminance0.4985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFE2 #BFE2AF
analogous
#B8AFE2 #D2AFE2 #E2AFD8
triadic
#D2AFE2 #E2D2AF #AFE2D2
tetradic
#D2AFE2 #E2B8AF #BFE2AF #AFD8E2
square
#D2AFE2 #E2B8AF #BFE2AF #AFD8E2
split-complementary
#D2AFE2 #D8E2AF #AFE2B8
monochromatic
#9F55C1 #B982D2 #D2AFE2 #EBDCF2 #F2E9F7

Accessibility & contrast

On white

1.91
#D2AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#D2AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFE2
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFE2#FFFFFF#000000##000000
##D2AFE21.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B9E4
Deuteranopia (green-blind)
#B0BCE0
Tritanopia (blue-blind)
#D1B5C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2afe2;
/* rgb */ color: rgb(210, 175, 226);
/* oklch */ color: oklch(80.1% 0.080 315.1);
Tailwind
colors: {
  custom: {
    50: '#e0c7eb',
    500: '#d2afe2',
    950: '#000000',
  },
}
SCSS
$custom: #d2afe2;
$custom-light: #e0c7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afe2",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 281.176,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.08006,
    "h": 315.1
  },
  "luminance": 0.49853
}

Semantic roles & 50–950 ramp

primary
#D2AFE2
secondary
#E2EEDD
accent
#BA2B58
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #D2AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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