#D3A7EA#D3A7EA

#D3A7EA is a light, moderate violet. Relative luminance 0.474; OKLCH L 79.1% C 0.104 H 313.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D3A7EA
RGBrgb(211, 167, 234)
HSLhsl(279, 61%, 79%)
HSVhsv(279, 29%, 92%)
CMYKcmyk(9.8%, 28.6%, 0%, 8.2%)
CIE-LABlab(74.46, 28.07, -27.50)
CIE-LCHlch(74.46, 39.30, 315.59°)
OKLaboklab(79.09% 0.0719 -0.0751)
OKLCHoklch(79.09% 0.104 313.8)
XYZxyz(55.5316, 47.4277, 84.0550)
Luminance0.4743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A7EA #BEEAA7
analogous
#B1A7EA #D3A7EA #EAA7DF
triadic
#D3A7EA #EAD3A7 #A7EAD3
tetradic
#D3A7EA #EAB1A7 #BEEAA7 #A7DFEA
square
#D3A7EA #EAB1A7 #BEEAA7 #A7DFEA
split-complementary
#D3A7EA #DFEAA7 #A7EAB1
monochromatic
#A244D2 #BA76DE #D3A7EA #ECD8F6 #F3E6F9

Accessibility & contrast

On white

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

On black

10.49
#D3A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A7EA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A7EA#FFFFFF#000000##000000
##D3A7EA1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5ED
Deuteranopia (green-blind)
#A7B8E8
Tritanopia (blue-blind)
#D2AFBF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3a7ea;
/* rgb */ color: rgb(211, 167, 234);
/* oklch */ color: oklch(79.1% 0.104 313.8);
Tailwind
colors: {
  custom: {
    50: '#e1c1f1',
    500: '#d3a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #d3a7ea;
$custom-light: #e1c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a7ea",
  "rgb": {
    "r": 211,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 279.403,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79087,
    "c": 0.10396,
    "h": 313.8
  },
  "luminance": 0.47427
}

Semantic roles & 50–950 ramp

primary
#D3A7EA
secondary
#E2F0DB
accent
#C91C58
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D3A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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