#D2A7FF#D2A7FF

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

Color values

HEX#D2A7FF
RGBrgb(210, 167, 255)
HSLhsl(269, 100%, 83%)
HSVhsv(269, 35%, 100%)
CMYKcmyk(17.6%, 34.5%, 0%, 0%)
CIE-LABlab(75.18, 32.17, -37.78)
CIE-LCHlch(75.18, 49.62, 310.42°)
OKLaboklab(79.88% 0.0761 -0.1043)
OKLCHoklch(79.88% 0.129 306.1)
XYZxyz(58.4435, 48.5594, 100.8824)
Luminance0.4856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A7FF #D4FFA7
analogous
#A7A8FF #D2A7FF #FEA7FF
triadic
#D2A7FF #FFD2A7 #A7FFD2
tetradic
#D2A7FF #FFA7A8 #D4FFA7 #A7FFFE
square
#D2A7FF #FFA7A8 #D4FFA7 #A7FFFE
split-complementary
#D2A7FF #FFFEA7 #A8FFA7
monochromatic
#932DFF #B36AFF #D2A7FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

10.71
#D2A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A7FF
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A7FF#FFFFFF#000000##000000
##D2A7FF1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#9EB9FD
Tritanopia (blue-blind)
#CCB4C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2a7ff;
/* rgb */ color: rgb(210, 167, 255);
/* oklch */ color: oklch(79.9% 0.129 306.1);
Tailwind
colors: {
  custom: {
    50: '#e1c1ff',
    500: '#d2a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2a7ff;
$custom-light: #e1c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a7ff",
  "rgb": {
    "r": 210,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 269.318,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.1291,
    "h": 306.1
  },
  "luminance": 0.48559
}

Semantic roles & 50–950 ramp

primary
#D2A7FF
secondary
#E6F7D4
accent
#E60075
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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