#D3AFEE#D3AFEE

#D3AFEE is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.7% C 0.095 H 310.3°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#D3AFEE
RGBrgb(211, 175, 238)
HSLhsl(274, 65%, 81%)
HSVhsv(274, 26%, 93%)
CMYKcmyk(11.3%, 26.5%, 0%, 6.7%)
CIE-LABlab(76.49, 24.53, -26.57)
CIE-LCHlch(76.49, 36.16, 312.72°)
OKLaboklab(80.69% 0.0614 -0.0725)
OKLCHoklch(80.69% 0.095 310.3)
XYZxyz(57.6239, 50.6824, 87.6194)
Luminance0.5068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AFEE #CAEEAF
analogous
#B3AFEE #D3AFEE #EEAFE9
triadic
#D3AFEE #EED3AF #AFEED3
tetradic
#D3AFEE #EEB3AF #CAEEAF #AFE9EE
square
#D3AFEE #EEB3AF #CAEEAF #AFE9EE
split-complementary
#D3AFEE #E9EEAF #AFEEB3
monochromatic
#9B4AD9 #B77DE3 #D3AFEE #EFE1F9 #F1E6FA

Accessibility & contrast

On white

1.89
#D3AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#D3AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AFEE
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AFEE#FFFFFF#000000##000000
##D3AFEE1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3afee;
/* rgb */ color: rgb(211, 175, 238);
/* oklch */ color: oklch(80.7% 0.095 310.3);
Tailwind
colors: {
  custom: {
    50: '#e1c7f3',
    500: '#d3afee',
    950: '#000000',
  },
}
SCSS
$custom: #d3afee;
$custom-light: #e1c7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d3afee",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 274.286,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80686,
    "c": 0.09501,
    "h": 310.3
  },
  "luminance": 0.50682
}

Semantic roles & 50–950 ramp

primary
#D3AFEE
secondary
#9ACC76
accent
#CD1966
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D3AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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