#D3AFEF#D3AFEF

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

Color values

HEX#D3AFEF
RGBrgb(211, 175, 239)
HSLhsl(274, 67%, 81%)
HSVhsv(274, 27%, 94%)
CMYKcmyk(11.7%, 26.8%, 0%, 6.3%)
CIE-LABlab(76.52, 24.74, -27.05)
CIE-LCHlch(76.52, 36.66, 312.44°)
OKLaboklab(80.73% 0.0617 -0.0739)
OKLCHoklch(80.73% 0.096 309.9)
XYZxyz(57.7712, 50.7414, 88.3953)
Luminance0.5074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AFEF #CBEFAF
analogous
#B3AFEF #D3AFEF #EFAFEB
triadic
#D3AFEF #EFD3AF #AFEFD3
tetradic
#D3AFEF #EFB3AF #CBEFAF #AFEBEF
square
#D3AFEF #EFB3AF #CBEFAF #AFEBEF
split-complementary
#D3AFEF #EBEFAF #AFEFB3
monochromatic
#9B49DB #B77CE5 #D3AFEF #EFE2F9 #F1E5FA

Accessibility & contrast

On white

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

On black

11.15
#D3AFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AFEF
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AFEF#FFFFFF#000000##000000
##D3AFEF1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BBF2
Deuteranopia (green-blind)
#ACBDED
Tritanopia (blue-blind)
#D0B7C6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d3afef;
/* rgb */ color: rgb(211, 175, 239);
/* oklch */ color: oklch(80.7% 0.096 309.9);
Tailwind
colors: {
  custom: {
    50: '#e1c7f4',
    500: '#d3afef',
    950: '#000000',
  },
}
SCSS
$custom: #d3afef;
$custom-light: #e1c7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3afef",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 273.75,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80725,
    "c": 0.09624,
    "h": 309.9
  },
  "luminance": 0.50741
}

Semantic roles & 50–950 ramp

primary
#D3AFEF
secondary
#9CCD75
accent
#CF1767
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D3AFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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