#D2AFE7#D2AFE7

#D2AFE7 is a light, moderate violet. Relative luminance 0.501; OKLCH L 80.3% C 0.086 H 312.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D2AFE7
RGBrgb(210, 175, 231)
HSLhsl(278, 54%, 80%)
HSVhsv(278, 24%, 91%)
CMYKcmyk(9.1%, 24.2%, 0%, 9.4%)
CIE-LABlab(76.15, 22.79, -23.30)
CIE-LCHlch(76.15, 32.59, 314.36°)
OKLaboklab(80.33% 0.0583 -0.0633)
OKLCHoklch(80.33% 0.086 312.6)
XYZxyz(56.3297, 50.1318, 82.2947)
Luminance0.5013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AFE7 #C4E7AF
analogous
#B6AFE7 #D2AFE7 #E7AFE0
triadic
#D2AFE7 #E7D2AF #AFE7D2
tetradic
#D2AFE7 #E7B6AF #C4E7AF #AFE0E7
square
#D2AFE7 #E7B6AF #C4E7AF #AFE0E7
split-complementary
#D2AFE7 #E0E7AF #AFE7B6
monochromatic
#9D51CB #B880D9 #D2AFE7 #ECDEF5 #F2E7F8

Accessibility & contrast

On white

1.90
#D2AFE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#D2AFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AFE7
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AFE7#FFFFFF#000000##000000
##D2AFE71.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BAE9
Deuteranopia (green-blind)
#AEBDE5
Tritanopia (blue-blind)
#D0B6C2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2afe7;
/* rgb */ color: rgb(210, 175, 231);
/* oklch */ color: oklch(80.3% 0.086 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0c7ee',
    500: '#d2afe7',
    950: '#000000',
  },
}
SCSS
$custom: #d2afe7;
$custom-light: #e0c7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d2afe7",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 277.5,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80325,
    "c": 0.08605,
    "h": 312.6
  },
  "luminance": 0.50131
}

Semantic roles & 50–950 ramp

primary
#D2AFE7
secondary
#94C278
accent
#C1245F
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #D2AFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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