#D1A7FA#D1A7FA

#D1A7FA is a light, vivid violet. Relative luminance 0.481; OKLCH L 79.6% C 0.123 H 307.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D1A7FA
RGBrgb(209, 167, 250)
HSLhsl(270, 89%, 82%)
HSVhsv(270, 33%, 98%)
CMYKcmyk(16.4%, 33.2%, 0%, 2%)
CIE-LABlab(74.89, 30.80, -35.54)
CIE-LCHlch(74.89, 47.03, 310.92°)
OKLaboklab(79.57% 0.0738 -0.0979)
OKLCHoklch(79.57% 0.123 307)
XYZxyz(57.3652, 48.0953, 96.6852)
Luminance0.4809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A7FA #D0FAA7
analogous
#A8A7FA #D1A7FA #FAA7FA
triadic
#D1A7FA #FAD1A7 #A7FAD1
tetradic
#D1A7FA #FAA8A7 #D0FAA7 #A7FAFA
square
#D1A7FA #FAA8A7 #D0FAA7 #A7FAFA
split-complementary
#D1A7FA #FAFAA7 #A7FAA8
monochromatic
#9433F3 #B36DF7 #D1A7FA #EFE1FD #F0E2FD

Accessibility & contrast

On white

1.98
#D1A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D1A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A7FA
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A7FA#FFFFFF#000000##000000
##D1A7FA1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#CBB3C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1a7fa;
/* rgb */ color: rgb(209, 167, 250);
/* oklch */ color: oklch(79.6% 0.123 307.0);
Tailwind
colors: {
  custom: {
    50: '#e0c1fc',
    500: '#d1a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d1a7fa;
$custom-light: #e0c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a7fa",
  "rgb": {
    "r": 209,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 270.361,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79567,
    "c": 0.1226,
    "h": 307
  },
  "luminance": 0.48095
}

Semantic roles & 50–950 ramp

primary
#D1A7FA
secondary
#E5F5D6
accent
#E60071
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D1A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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