#D3A7ED#D3A7ED

#D3A7ED is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.2% C 0.108 H 312.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D3A7ED
RGBrgb(211, 167, 237)
HSLhsl(278, 66%, 79%)
HSVhsv(278, 30%, 93%)
CMYKcmyk(11%, 29.5%, 0%, 7.1%)
CIE-LABlab(74.57, 28.68, -28.96)
CIE-LCHlch(74.57, 40.76, 314.72°)
OKLaboklab(79.21% 0.0727 -0.0792)
OKLCHoklch(79.21% 0.108 312.6)
XYZxyz(55.9662, 47.6015, 86.3441)
Luminance0.4760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A7ED #C1EDA7
analogous
#B0A7ED #D3A7ED #EDA7E4
triadic
#D3A7ED #EDD3A7 #A7EDD3
tetradic
#D3A7ED #EDB0A7 #C1EDA7 #A7E4ED
square
#D3A7ED #EDB0A7 #C1EDA7 #A7E4ED
split-complementary
#D3A7ED #E4EDA7 #A7EDB0
monochromatic
#A041D8 #BA74E3 #D3A7ED #ECDAF7 #F2E6FA

Accessibility & contrast

On white

2.00
#D3A7ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D3A7ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A7ED
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A7ED#FFFFFF#000000##000000
##D3A7ED1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5F0
Deuteranopia (green-blind)
#A6B9EB
Tritanopia (blue-blind)
#D1B0C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3a7ed;
/* rgb */ color: rgb(211, 167, 237);
/* oklch */ color: oklch(79.2% 0.108 312.6);
Tailwind
colors: {
  custom: {
    50: '#e1c1f3',
    500: '#d3a7ed',
    950: '#000000',
  },
}
SCSS
$custom: #d3a7ed;
$custom-light: #e1c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a7ed",
  "rgb": {
    "r": 211,
    "g": 167,
    "b": 237
  },
  "hsl": {
    "h": 277.714,
    "s": 66.038,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79208,
    "c": 0.10752,
    "h": 312.6
  },
  "luminance": 0.47601
}

Semantic roles & 50–950 ramp

primary
#D3A7ED
secondary
#E2F1DA
accent
#CE185B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #D3A7ED

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

Preview Lab → · Contrast checker → · Palette generator →

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