#D7A3FA#D7A3FA

#D7A3FA is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.4% C 0.131 H 311.0°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D7A3FA
RGBrgb(215, 163, 250)
HSLhsl(276, 90%, 81%)
HSVhsv(276, 35%, 98%)
CMYKcmyk(14%, 34.8%, 0%, 2%)
CIE-LABlab(74.54, 34.76, -36.03)
CIE-LCHlch(74.54, 50.07, 313.97°)
OKLaboklab(79.43% 0.0862 -0.0992)
OKLCHoklch(79.43% 0.131 311)
XYZxyz(58.3738, 47.5444, 96.5258)
Luminance0.4754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A3FA #C6FAA3
analogous
#ABA3FA #D7A3FA #FAA3F1
triadic
#D7A3FA #FAD7A3 #A3FAD7
tetradic
#D7A3FA #FAABA3 #C6FAA3 #A3F1FA
square
#D7A3FA #FAABA3 #C6FAA3 #A3F1FA
split-complementary
#D7A3FA #F1FAA3 #A3FAAB
monochromatic
#A52FF4 #BE69F7 #D7A3FA #F0DDFD #F2E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7A3FA#FFFFFF#000000##000000
##D7A3FA1.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)
#93B5FD
Deuteranopia (green-blind)
#9FB8F7
Tritanopia (blue-blind)
#D3AFC3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7a3fa;
/* rgb */ color: rgb(215, 163, 250);
/* oklch */ color: oklch(79.4% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#e4bffc',
    500: '#d7a3fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7a3fa;
$custom-light: #e4bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a3fa",
  "rgb": {
    "r": 215,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 275.862,
    "s": 89.691,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79433,
    "c": 0.13144,
    "h": 311
  },
  "luminance": 0.47544
}

Semantic roles & 50–950 ramp

primary
#D7A3FA
secondary
#E2F6D5
accent
#E6005C
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D7A3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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