#D4AEFE#D4AEFE

#D4AEFE is a light, moderate violet. Relative luminance 0.514; OKLCH L 81.2% C 0.117 H 305.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D4AEFE
RGBrgb(212, 174, 254)
HSLhsl(269, 98%, 84%)
HSVhsv(269, 31%, 100%)
CMYKcmyk(16.5%, 31.5%, 0%, 0.4%)
CIE-LABlab(76.94, 28.75, -34.50)
CIE-LCHlch(76.94, 44.90, 309.80°)
OKLaboklab(81.25% 0.0682 -0.095)
OKLCHoklch(81.25% 0.117 305.7)
XYZxyz(60.1733, 51.4252, 100.5027)
Luminance0.5142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AEFE #D8FEAE
analogous
#AEB0FE #D4AEFE #FCAEFE
triadic
#D4AEFE #FED4AE #AEFED4
tetradic
#D4AEFE #FEAEB0 #D8FEAE #AEFEFC
square
#D4AEFE #FEAEB0 #D8FEAE #AEFEFC
split-complementary
#D4AEFE #FEFCAE #B0FEAE
monochromatic
#9435FD #B472FD #D4AEFE #EFE1FF #EFE1FF

Accessibility & contrast

On white

1.86
#D4AEFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D4AEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AEFE
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AEFE#FFFFFF#000000##000000
##D4AEFE1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBDFF
Deuteranopia (green-blind)
#A6BEFC
Tritanopia (blue-blind)
#CEBACB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4aefe;
/* rgb */ color: rgb(212, 174, 254);
/* oklch */ color: oklch(81.2% 0.117 305.7);
Tailwind
colors: {
  custom: {
    50: '#e2c6ff',
    500: '#d4aefe',
    950: '#000000',
  },
}
SCSS
$custom: #d4aefe;
$custom-light: #e2c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4aefe",
  "rgb": {
    "r": 212,
    "g": 174,
    "b": 254
  },
  "hsl": {
    "h": 268.5,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81247,
    "c": 0.11692,
    "h": 305.7
  },
  "luminance": 0.51425
}

Semantic roles & 50–950 ramp

primary
#D4AEFE
secondary
#ABE36D
accent
#E60078
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D4AEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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