#D4AFFE#D4AFFE

#D4AFFE is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.4% C 0.115 H 305.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D4AFFE
RGBrgb(212, 175, 254)
HSLhsl(268, 98%, 84%)
HSVhsv(268, 31%, 100%)
CMYKcmyk(16.5%, 31.1%, 0%, 0.4%)
CIE-LABlab(77.17, 28.20, -34.14)
CIE-LCHlch(77.17, 44.28, 309.56°)
OKLaboklab(81.43% 0.0668 -0.0939)
OKLCHoklch(81.43% 0.115 305.4)
XYZxyz(60.3672, 51.8130, 100.5674)
Luminance0.5181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AFFE #D9FEAF
analogous
#AFB2FE #D4AFFE #FBAFFE
triadic
#D4AFFE #FED4AF #AFFED4
tetradic
#D4AFFE #FEAFB2 #D9FEAF #AFFEFB
square
#D4AFFE #FEAFB2 #D9FEAF #AFFEFB
split-complementary
#D4AFFE #FEFBAF #B2FEAF
monochromatic
#9336FC #B473FD #D4AFFE #EFE1FF #EFE1FF

Accessibility & contrast

On white

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

On black

11.36
#D4AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AFFE
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AFFE#FFFFFF#000000##000000
##D4AFFE1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4affe;
/* rgb */ color: rgb(212, 175, 254);
/* oklch */ color: oklch(81.4% 0.115 305.4);
Tailwind
colors: {
  custom: {
    50: '#e2c7ff',
    500: '#d4affe',
    950: '#000000',
  },
}
SCSS
$custom: #d4affe;
$custom-light: #e2c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4affe",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 268.101,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81425,
    "c": 0.11527,
    "h": 305.4
  },
  "luminance": 0.51813
}

Semantic roles & 50–950 ramp

primary
#D4AFFE
secondary
#ACE46E
accent
#E6007A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D4AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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