#D4A7FB#D4A7FB

#D4A7FB is a light, vivid violet. Relative luminance 0.486; OKLCH L 79.9% C 0.125 H 308.3°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D4A7FB
RGBrgb(212, 167, 251)
HSLhsl(272, 91%, 82%)
HSVhsv(272, 33%, 98%)
CMYKcmyk(15.5%, 33.5%, 0%, 1.6%)
CIE-LABlab(75.20, 31.91, -35.56)
CIE-LCHlch(75.20, 47.78, 311.90°)
OKLaboklab(79.89% 0.0774 -0.0979)
OKLCHoklch(79.89% 0.125 308.3)
XYZxyz(58.3794, 48.6001, 97.5534)
Luminance0.4860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A7FB #CEFBA7
analogous
#AAA7FB #D4A7FB #FBA7F8
triadic
#D4A7FB #FBD4A7 #A7FBD4
tetradic
#D4A7FB #FBAAA7 #CEFBA7 #A7F8FB
square
#D4A7FB #FBAAA7 #CEFBA7 #A7F8FB
split-complementary
#D4A7FB #F8FBA7 #A7FBAA
monochromatic
#9B32F6 #B76CF8 #D4A7FB #F1E2FE #F1E2FE

Accessibility & contrast

On white

1.96
#D4A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D4A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A7FB
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A7FB#FFFFFF#000000##000000
##D4A7FB1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#A1BAF9
Tritanopia (blue-blind)
#CFB3C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4a7fb;
/* rgb */ color: rgb(212, 167, 251);
/* oklch */ color: oklch(79.9% 0.125 308.3);
Tailwind
colors: {
  custom: {
    50: '#e2c1fd',
    500: '#d4a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #d4a7fb;
$custom-light: #e2c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a7fb",
  "rgb": {
    "r": 212,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 272.143,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79886,
    "c": 0.12483,
    "h": 308.3
  },
  "luminance": 0.486
}

Semantic roles & 50–950 ramp

primary
#D4A7FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D4A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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