#D4AFEE#D4AFEE

#D4AFEE is a light, moderate violet. Relative luminance 0.508; OKLCH L 80.8% C 0.095 H 310.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D4AFEE
RGBrgb(212, 175, 238)
HSLhsl(275, 65%, 81%)
HSVhsv(275, 26%, 93%)
CMYKcmyk(10.9%, 26.5%, 0%, 6.7%)
CIE-LABlab(76.58, 24.85, -26.42)
CIE-LCHlch(76.58, 36.27, 313.24°)
OKLaboklab(80.78% 0.0625 -0.0721)
OKLCHoklch(80.78% 0.095 310.9)
XYZxyz(57.9113, 50.8307, 87.6328)
Luminance0.5083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AFEE #C9EEAF
analogous
#B4AFEE #D4AFEE #EEAFE8
triadic
#D4AFEE #EED4AF #AFEED4
tetradic
#D4AFEE #EEB4AF #C9EEAF #AFE8EE
square
#D4AFEE #EEB4AF #C9EEAF #AFE8EE
split-complementary
#D4AFEE #E8EEAF #AFEEB4
monochromatic
#9E4AD9 #B97DE3 #D4AFEE #EFE1F9 #F1E6FA

Accessibility & contrast

On white

1.88
#D4AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#D4AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AFEE
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AFEE#FFFFFF#000000##000000
##D4AFEE1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BBF1
Deuteranopia (green-blind)
#ADBEEC
Tritanopia (blue-blind)
#D1B7C5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4afee;
/* rgb */ color: rgb(212, 175, 238);
/* oklch */ color: oklch(80.8% 0.095 310.9);
Tailwind
colors: {
  custom: {
    50: '#e1c7f3',
    500: '#d4afee',
    950: '#000000',
  },
}
SCSS
$custom: #d4afee;
$custom-light: #e1c7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4afee",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 275.238,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80776,
    "c": 0.09542,
    "h": 310.9
  },
  "luminance": 0.5083
}

Semantic roles & 50–950 ramp

primary
#D4AFEE
secondary
#99CC76
accent
#CD1963
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D4AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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