#D1AFFA#D1AFFA

#D1AFFA is a light, moderate violet. Relative luminance 0.511; OKLCH L 81.0% C 0.109 H 304.8°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D1AFFA
RGBrgb(209, 175, 250)
HSLhsl(267, 88%, 83%)
HSVhsv(267, 30%, 98%)
CMYKcmyk(16.4%, 30%, 0%, 2%)
CIE-LABlab(76.75, 26.44, -32.65)
CIE-LCHlch(76.75, 42.01, 309.00°)
OKLaboklab(80.99% 0.0624 -0.0897)
OKLCHoklch(80.99% 0.109 304.8)
XYZxyz(58.8764, 51.1176, 97.1889)
Luminance0.5112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AFFA #D8FAAF
analogous
#AFB2FA #D1AFFA #F6AFFA
triadic
#D1AFFA #FAD1AF #AFFAD1
tetradic
#D1AFFA #FAAFB2 #D8FAAF #AFFAF6
square
#D1AFFA #FAAFB2 #D8FAAF #AFFAF6
split-complementary
#D1AFFA #FAF6AF #B2FAAF
monochromatic
#8F3CF3 #B075F6 #D1AFFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

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

On black

11.22
#D1AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AFFA
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AFFA#FFFFFF#000000##000000
##D1AFFA1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#CBBACA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d1affa;
/* rgb */ color: rgb(209, 175, 250);
/* oklch */ color: oklch(81.0% 0.109 304.8);
Tailwind
colors: {
  custom: {
    50: '#e0c7fc',
    500: '#d1affa',
    950: '#000000',
  },
}
SCSS
$custom: #d1affa;
$custom-light: #e0c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1affa",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 267.2,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80992,
    "c": 0.10933,
    "h": 304.8
  },
  "luminance": 0.51117
}

Semantic roles & 50–950 ramp

primary
#D1AFFA
secondary
#ACDD70
accent
#E5017D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D1AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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