#D7AFEB#D7AFEB

#D7AFEB is a light, moderate purple. Relative luminance 0.511; OKLCH L 80.9% C 0.093 H 314.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D7AFEB
RGBrgb(215, 175, 235)
HSLhsl(280, 60%, 80%)
HSVhsv(280, 26%, 92%)
CMYKcmyk(8.5%, 25.5%, 0%, 7.8%)
CIE-LABlab(76.74, 25.19, -24.52)
CIE-LCHlch(76.74, 35.15, 315.77°)
OKLaboklab(80.93% 0.065 -0.0667)
OKLCHoklch(80.93% 0.093 314.3)
XYZxyz(58.3473, 51.1060, 85.3719)
Luminance0.5111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AFEB #C3EBAF
analogous
#B9AFEB #D7AFEB #EBAFE1
triadic
#D7AFEB #EBD7AF #AFEBD7
tetradic
#D7AFEB #EBB9AF #C3EBAF #AFE1EB
square
#D7AFEB #EBB9AF #C3EBAF #AFE1EB
split-complementary
#D7AFEB #E1EBAF #AFEBB9
monochromatic
#A64DD3 #BF7EDF #D7AFEB #EFE0F7 #F3E7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7AFEB#FFFFFF#000000##000000
##D7AFEB1.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)
#A7BBED
Deuteranopia (green-blind)
#AFBFE9
Tritanopia (blue-blind)
#D6B6C4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7afeb;
/* rgb */ color: rgb(215, 175, 235);
/* oklch */ color: oklch(80.9% 0.093 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4c7f1',
    500: '#d7afeb',
    950: '#000000',
  },
}
SCSS
$custom: #d7afeb;
$custom-light: #e4c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7afeb",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.80933,
    "c": 0.09313,
    "h": 314.3
  },
  "luminance": 0.51105
}

Semantic roles & 50–950 ramp

primary
#D7AFEB
secondary
#92C777
accent
#C81E56
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #D7AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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