#D1AFFC#D1AFFC

#D1AFFC is a light, moderate violet. Relative luminance 0.512; OKLCH L 81.1% C 0.112 H 304.2°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D1AFFC
RGBrgb(209, 175, 252)
HSLhsl(266, 93%, 84%)
HSVhsv(266, 31%, 99%)
CMYKcmyk(17.1%, 30.6%, 0%, 1.2%)
CIE-LABlab(76.83, 26.87, -33.61)
CIE-LCHlch(76.83, 43.03, 308.64°)
OKLaboklab(81.08% 0.063 -0.0925)
OKLCHoklch(81.08% 0.112 304.2)
XYZxyz(59.1916, 51.2437, 98.8493)
Luminance0.5124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AFFC #DAFCAF
analogous
#AFB3FC #D1AFFC #F8AFFC
triadic
#D1AFFC #FCD1AF #AFFCD1
tetradic
#D1AFFC #FCAFB3 #DAFCAF #AFFCF8
square
#D1AFFC #FCAFB3 #DAFCAF #AFFCF8
split-complementary
#D1AFFC #FCF8AF #B3FCAF
monochromatic
#8D39F8 #AF74FA #D1AFFC #EEE2FE #EEE2FE

Accessibility & contrast

On white

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

On black

11.25
#D1AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AFFC
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AFFC#FFFFFF#000000##000000
##D1AFFC1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A6BEFA
Tritanopia (blue-blind)
#CABACB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1affc;
/* rgb */ color: rgb(209, 175, 252);
/* oklch */ color: oklch(81.1% 0.112 304.2);
Tailwind
colors: {
  custom: {
    50: '#e0c7fd',
    500: '#d1affc',
    950: '#000000',
  },
}
SCSS
$custom: #d1affc;
$custom-light: #e0c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d1affc",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 266.494,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.81075,
    "c": 0.11188,
    "h": 304.2
  },
  "luminance": 0.51244
}

Semantic roles & 50–950 ramp

primary
#D1AFFC
secondary
#AEE06F
accent
#E60080
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D1AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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