#D2A8FA#D2A8FA

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

Color values

HEX#D2A8FA
RGBrgb(210, 168, 250)
HSLhsl(271, 89%, 82%)
HSVhsv(271, 33%, 98%)
CMYKcmyk(16%, 32.8%, 0%, 2%)
CIE-LABlab(75.21, 30.55, -35.03)
CIE-LCHlch(75.21, 46.48, 311.10°)
OKLaboklab(79.83% 0.0735 -0.0965)
OKLCHoklch(79.83% 0.121 307.3)
XYZxyz(57.8330, 48.6095, 96.7598)
Luminance0.4861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A8FA #D0FAA8
analogous
#A9A8FA #D2A8FA #FAA8F9
triadic
#D2A8FA #FAD2A8 #A8FAD2
tetradic
#D2A8FA #FAA9A8 #D0FAA8 #A8F9FA
square
#D2A8FA #FAA9A8 #D0FAA8 #A8F9FA
split-complementary
#D2A8FA #F9FAA8 #A8FAA9
monochromatic
#9634F3 #B46EF7 #D2A8FA #F0E2FD #F0E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2A8FA#FFFFFF#000000##000000
##D2A8FA1.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)
#98B8FD
Deuteranopia (green-blind)
#A1BAF8
Tritanopia (blue-blind)
#CDB4C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2a8fa;
/* rgb */ color: rgb(210, 168, 250);
/* oklch */ color: oklch(79.8% 0.121 307.3);
Tailwind
colors: {
  custom: {
    50: '#e1c2fc',
    500: '#d2a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a8fa;
$custom-light: #e1c2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a8fa",
  "rgb": {
    "r": 210,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 270.732,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79834,
    "c": 0.12126,
    "h": 307.3
  },
  "luminance": 0.48609
}

Semantic roles & 50–950 ramp

primary
#D2A8FA
secondary
#E5F5D6
accent
#E60070
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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