#D7AEFE#D7AEFE

#D7AEFE is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.5% C 0.118 H 307.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D7AEFE
RGBrgb(215, 174, 254)
HSLhsl(271, 98%, 84%)
HSVhsv(271, 31%, 100%)
CMYKcmyk(15.4%, 31.5%, 0%, 0.4%)
CIE-LABlab(77.21, 29.65, -34.06)
CIE-LCHlch(77.21, 45.15, 311.04°)
OKLaboklab(81.52% 0.0716 -0.0936)
OKLCHoklch(81.52% 0.118 307.4)
XYZxyz(61.0464, 51.8754, 100.5437)
Luminance0.5188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AEFE #D5FEAE
analogous
#AFAEFE #D7AEFE #FEAEFD
triadic
#D7AEFE #FED7AE #AEFED7
tetradic
#D7AEFE #FEAFAE #D5FEAE #AEFDFE
square
#D7AEFE #FEAFAE #D5FEAE #AEFDFE
split-complementary
#D7AEFE #FDFEAE #AEFEAF
monochromatic
#9B35FD #B972FD #D7AEFE #F0E1FF #F0E1FF

Accessibility & contrast

On white

1.85
#D7AEFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D7AEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AEFE
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AEFE#FFFFFF#000000##000000
##D7AEFE1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#D2B9CB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7aefe;
/* rgb */ color: rgb(215, 174, 254);
/* oklch */ color: oklch(81.5% 0.118 307.4);
Tailwind
colors: {
  custom: {
    50: '#e4c6ff',
    500: '#d7aefe',
    950: '#000000',
  },
}
SCSS
$custom: #d7aefe;
$custom-light: #e4c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d7aefe",
  "rgb": {
    "r": 215,
    "g": 174,
    "b": 254
  },
  "hsl": {
    "h": 270.75,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81518,
    "c": 0.11787,
    "h": 307.4
  },
  "luminance": 0.51875
}

Semantic roles & 50–950 ramp

primary
#D7AEFE
secondary
#A7E36D
accent
#E60070
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #D7AEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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