#D7AEF2#D7AEF2

#D7AEF2 is a light, moderate violet. Relative luminance 0.511; OKLCH L 81.0% C 0.103 H 311.5°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D7AEF2
RGBrgb(215, 174, 242)
HSLhsl(276, 72%, 82%)
HSVhsv(276, 28%, 95%)
CMYKcmyk(11.2%, 28.1%, 0%, 5.1%)
CIE-LABlab(76.76, 27.15, -28.28)
CIE-LCHlch(76.76, 39.20, 313.83°)
OKLaboklab(81.03% 0.0684 -0.0773)
OKLCHoklch(81.03% 0.103 311.5)
XYZxyz(59.1847, 51.1307, 90.7385)
Luminance0.5113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AEF2 #C9F2AE
analogous
#B5AEF2 #D7AEF2 #F2AEEB
triadic
#D7AEF2 #F2D7AE #AEF2D7
tetradic
#D7AEF2 #F2B5AE #C9F2AE #AEEBF2
square
#D7AEF2 #F2B5AE #C9F2AE #AEEBF2
split-complementary
#D7AEF2 #EBF2AE #AEF2B5
monochromatic
#A345E1 #BD79EA #D7AEF2 #F1E3FA #F2E5FB

Accessibility & contrast

On white

1.87
#D7AEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#D7AEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AEF2
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AEF2#FFFFFF#000000##000000
##D7AEF21.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BBF5
Deuteranopia (green-blind)
#ACBEF0
Tritanopia (blue-blind)
#D5B7C6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7aef2;
/* rgb */ color: rgb(215, 174, 242);
/* oklch */ color: oklch(81.0% 0.103 311.5);
Tailwind
colors: {
  custom: {
    50: '#e4c6f6',
    500: '#d7aef2',
    950: '#000000',
  },
}
SCSS
$custom: #d7aef2;
$custom-light: #e4c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7aef2",
  "rgb": {
    "r": 215,
    "g": 174,
    "b": 242
  },
  "hsl": {
    "h": 276.176,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81027,
    "c": 0.10321,
    "h": 311.5
  },
  "luminance": 0.5113
}

Semantic roles & 50–950 ramp

primary
#D7AEF2
secondary
#98D173
accent
#D4115F
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D7AEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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