#D2A8FF#D2A8FF

#D2A8FF is a light, vivid violet. Relative luminance 0.489; OKLCH L 80.1% C 0.127 H 305.9°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D2A8FF
RGBrgb(210, 168, 255)
HSLhsl(269, 100%, 83%)
HSVhsv(269, 34%, 100%)
CMYKcmyk(17.6%, 34.1%, 0%, 0%)
CIE-LABlab(75.41, 31.63, -37.42)
CIE-LCHlch(75.41, 49.00, 310.21°)
OKLaboklab(80.05% 0.0746 -0.1033)
OKLCHoklch(80.05% 0.127 305.9)
XYZxyz(58.6274, 48.9272, 100.9437)
Luminance0.4893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A8FF #D5FFA8
analogous
#A8A9FF #D2A8FF #FEA8FF
triadic
#D2A8FF #FFD2A8 #A8FFD2
tetradic
#D2A8FF #FFA8A9 #D5FFA8 #A8FFFE
square
#D2A8FF #FFA8A9 #D5FFA8 #A8FFFE
split-complementary
#D2A8FF #FFFEA8 #A9FFA8
monochromatic
#932EFF #B26BFF #D2A8FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

1.95
#D2A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D2A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A8FF
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A8FF#FFFFFF#000000##000000
##D2A8FF1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#9FBAFD
Tritanopia (blue-blind)
#CBB5C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2a8ff;
/* rgb */ color: rgb(210, 168, 255);
/* oklch */ color: oklch(80.1% 0.127 305.9);
Tailwind
colors: {
  custom: {
    50: '#e1c2ff',
    500: '#d2a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2a8ff;
$custom-light: #e1c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a8ff",
  "rgb": {
    "r": 210,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 268.966,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80051,
    "c": 0.12745,
    "h": 305.9
  },
  "luminance": 0.48927
}

Semantic roles & 50–950 ramp

primary
#D2A8FF
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2A8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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