#D3A7EC#D3A7EC

#D3A7EC is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.2% C 0.106 H 312.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D3A7EC
RGBrgb(211, 167, 236)
HSLhsl(278, 64%, 79%)
HSVhsv(278, 29%, 93%)
CMYKcmyk(10.6%, 29.2%, 0%, 7.5%)
CIE-LABlab(74.54, 28.48, -28.47)
CIE-LCHlch(74.54, 40.27, 315.00°)
OKLaboklab(79.17% 0.0725 -0.0778)
OKLCHoklch(79.17% 0.106 312.9)
XYZxyz(55.8205, 47.5433, 85.5768)
Luminance0.4754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A7EC #C0ECA7
analogous
#B1A7EC #D3A7EC #ECA7E3
triadic
#D3A7EC #ECD3A7 #A7ECD3
tetradic
#D3A7EC #ECB1A7 #C0ECA7 #A7E3EC
square
#D3A7EC #ECB1A7 #C0ECA7 #A7E3EC
split-complementary
#D3A7EC #E3ECA7 #A7ECB1
monochromatic
#A142D6 #BA75E1 #D3A7EC #ECD9F7 #F2E6FA

Accessibility & contrast

On white

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

On black

10.51
#D3A7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A7EC
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A7EC#FFFFFF#000000##000000
##D3A7EC1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3a7ec;
/* rgb */ color: rgb(211, 167, 236);
/* oklch */ color: oklch(79.2% 0.106 312.9);
Tailwind
colors: {
  custom: {
    50: '#e1c1f2',
    500: '#d3a7ec',
    950: '#000000',
  },
}
SCSS
$custom: #d3a7ec;
$custom-light: #e1c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a7ec",
  "rgb": {
    "r": 211,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 278.261,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79167,
    "c": 0.10633,
    "h": 312.9
  },
  "luminance": 0.47542
}

Semantic roles & 50–950 ramp

primary
#D3A7EC
secondary
#E2F1DA
accent
#CC195A
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #D3A7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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