#D7AFFD#D7AFFD

#D7AFFD is a light, moderate violet. Relative luminance 0.522; OKLCH L 81.7% C 0.115 H 307.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D7AFFD
RGBrgb(215, 175, 253)
HSLhsl(271, 95%, 84%)
HSVhsv(271, 31%, 99%)
CMYKcmyk(15%, 30.8%, 0%, 0.8%)
CIE-LABlab(77.40, 28.89, -33.22)
CIE-LCHlch(77.40, 44.03, 311.01°)
OKLaboklab(81.65% 0.0699 -0.0913)
OKLCHoklch(81.65% 0.115 307.5)
XYZxyz(61.0806, 52.1993, 99.7671)
Luminance0.5220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AFFD #D5FDAF
analogous
#B0AFFD #D7AFFD #FDAFFC
triadic
#D7AFFD #FDD7AF #AFFDD7
tetradic
#D7AFFD #FDB0AF #D5FDAF #AFFCFD
square
#D7AFFD #FDB0AF #D5FDAF #AFFCFD
split-complementary
#D7AFFD #FCFDAF #AFFDB0
monochromatic
#9B38FA #B973FC #D7AFFD #F0E1FE #F0E1FE

Accessibility & contrast

On white

1.84
#D7AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D7AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AFFD
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AFFD#FFFFFF#000000##000000
##D7AFFD1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#A9C0FB
Tritanopia (blue-blind)
#D2BACB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7affd;
/* rgb */ color: rgb(215, 175, 253);
/* oklch */ color: oklch(81.7% 0.115 307.5);
Tailwind
colors: {
  custom: {
    50: '#e4c7fe',
    500: '#d7affd',
    950: '#000000',
  },
}
SCSS
$custom: #d7affd;
$custom-light: #e4c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d7affd",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 270.769,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81653,
    "c": 0.11497,
    "h": 307.5
  },
  "luminance": 0.52199
}

Semantic roles & 50–950 ramp

primary
#D7AFFD
secondary
#A7E26E
accent
#E60070
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D7AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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