#D7A6FA#D7A6FA

#D7A6FA is a light, vivid violet. Relative luminance 0.486; OKLCH L 79.9% C 0.126 H 310.4°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D7A6FA
RGBrgb(215, 166, 250)
HSLhsl(275, 89%, 82%)
HSVhsv(275, 34%, 98%)
CMYKcmyk(14%, 33.6%, 0%, 2%)
CIE-LABlab(75.22, 33.14, -34.98)
CIE-LCHlch(75.22, 48.18, 313.45°)
OKLaboklab(79.95% 0.082 -0.0962)
OKLCHoklch(79.95% 0.126 310.4)
XYZxyz(58.9128, 48.6224, 96.7055)
Luminance0.4862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A6FA #C9FAA6
analogous
#ADA6FA #D7A6FA #FAA6F3
triadic
#D7A6FA #FAD7A6 #A6FAD7
tetradic
#D7A6FA #FAADA6 #C9FAA6 #A6F3FA
square
#D7A6FA #FAADA6 #C9FAA6 #A6F3FA
split-complementary
#D7A6FA #F3FAA6 #A6FAAD
monochromatic
#A332F3 #BD6CF7 #D7A6FA #F1E0FD #F2E2FD

Accessibility & contrast

On white

1.96
#D7A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D7A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A6FA
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A6FA#FFFFFF#000000##000000
##D7A6FA1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#A2BAF8
Tritanopia (blue-blind)
#D3B2C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7a6fa;
/* rgb */ color: rgb(215, 166, 250);
/* oklch */ color: oklch(79.9% 0.126 310.4);
Tailwind
colors: {
  custom: {
    50: '#e4c1fc',
    500: '#d7a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7a6fa;
$custom-light: #e4c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a6fa",
  "rgb": {
    "r": 215,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 275,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79949,
    "c": 0.1264,
    "h": 310.4
  },
  "luminance": 0.48622
}

Semantic roles & 50–950 ramp

primary
#D7A6FA
secondary
#E3F5D6
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D7A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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