#D2A7FA#D2A7FA

#D2A7FA is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.7% C 0.123 H 307.5°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#D2A7FA
RGBrgb(210, 167, 250)
HSLhsl(271, 89%, 82%)
HSVhsv(271, 33%, 98%)
CMYKcmyk(16%, 33.2%, 0%, 2%)
CIE-LABlab(74.98, 31.10, -35.39)
CIE-LCHlch(74.98, 47.11, 311.31°)
OKLaboklab(79.66% 0.0749 -0.0975)
OKLCHoklch(79.66% 0.123 307.5)
XYZxyz(57.6491, 48.2417, 96.6985)
Luminance0.4824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A7FA #CFFAA7
analogous
#A9A7FA #D2A7FA #FAA7F9
triadic
#D2A7FA #FAD2A7 #A7FAD2
tetradic
#D2A7FA #FAA9A7 #CFFAA7 #A7F9FA
square
#D2A7FA #FAA9A7 #CFFAA7 #A7F9FA
split-complementary
#D2A7FA #F9FAA7 #A7FAA9
monochromatic
#9733F3 #B46DF7 #D2A7FA #F0E1FD #F0E2FD

Accessibility & contrast

On white

1.97
#D2A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#D2A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A7FA
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A7FA#FFFFFF#000000##000000
##D2A7FA1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2a7fa;
/* rgb */ color: rgb(210, 167, 250);
/* oklch */ color: oklch(79.7% 0.123 307.5);
Tailwind
colors: {
  custom: {
    50: '#e1c1fc',
    500: '#d2a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a7fa;
$custom-light: #e1c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a7fa",
  "rgb": {
    "r": 210,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 271.084,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79658,
    "c": 0.12293,
    "h": 307.5
  },
  "luminance": 0.48241
}

Semantic roles & 50–950 ramp

primary
#D2A7FA
secondary
#E5F5D6
accent
#E6006F
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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