#D4A0FA#D4A0FA

#D4A0FA is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.6% C 0.135 H 310.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D4A0FA
RGBrgb(212, 160, 250)
HSLhsl(275, 90%, 80%)
HSVhsv(275, 36%, 98%)
CMYKcmyk(15.2%, 36%, 0%, 2%)
CIE-LABlab(73.57, 35.50, -37.55)
CIE-LCHlch(73.57, 51.67, 313.39°)
OKLaboklab(78.64% 0.0871 -0.1036)
OKLCHoklch(78.64% 0.135 310)
XYZxyz(56.9744, 46.0415, 96.3094)
Luminance0.4604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A0FA #C6FAA0
analogous
#A7A0FA #D4A0FA #FAA0F3
triadic
#D4A0FA #FAD4A0 #A0FAD4
tetradic
#D4A0FA #FAA7A0 #C6FAA0 #A0F3FA
square
#D4A0FA #FAA7A0 #C6FAA0 #A0F3FA
split-complementary
#D4A0FA #F3FAA0 #A0FAA7
monochromatic
#9F2CF4 #BA66F7 #D4A0FA #EEDAFD #F2E2FD

Accessibility & contrast

On white

2.06
#D4A0FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D4A0FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A0FA
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A0FA#FFFFFF#000000##000000
##D4A0FA1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#D0ADC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4a0fa;
/* rgb */ color: rgb(212, 160, 250);
/* oklch */ color: oklch(78.6% 0.135 310.0);
Tailwind
colors: {
  custom: {
    50: '#e2bcfc',
    500: '#d4a0fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4a0fa;
$custom-light: #e2bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a0fa",
  "rgb": {
    "r": 212,
    "g": 160,
    "b": 250
  },
  "hsl": {
    "h": 274.667,
    "s": 90,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78635,
    "c": 0.13532,
    "h": 310
  },
  "luminance": 0.46041
}

Semantic roles & 50–950 ramp

primary
#D4A0FA
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D4A0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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