#D4A2F9#D4A2F9

#D4A2F9 is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.9% C 0.131 H 310.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D4A2F9
RGBrgb(212, 162, 249)
HSLhsl(274, 88%, 81%)
HSVhsv(274, 35%, 98%)
CMYKcmyk(14.9%, 34.9%, 0%, 2.4%)
CIE-LABlab(73.98, 34.20, -36.37)
CIE-LCHlch(73.98, 49.92, 313.24°)
OKLaboklab(78.93% 0.084 -0.1002)
OKLCHoklch(78.93% 0.131 310)
XYZxyz(57.1675, 46.6780, 95.6023)
Luminance0.4668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A2F9 #C7F9A2
analogous
#A8A2F9 #D4A2F9 #F9A2F2
triadic
#D4A2F9 #F9D4A2 #A2F9D4
tetradic
#D4A2F9 #F9A8A2 #C7F9A2 #A2F2F9
square
#D4A2F9 #F9A8A2 #C7F9A2 #A2F2F9
split-complementary
#D4A2F9 #F2F9A2 #A2F9A8
monochromatic
#9F2FF2 #B969F5 #D4A2F9 #EFDBFD #F2E2FD

Accessibility & contrast

On white

2.03
#D4A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D4A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A2F9
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A2F9#FFFFFF#000000##000000
##D4A2F91.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B3FC
Deuteranopia (green-blind)
#9DB7F6
Tritanopia (blue-blind)
#D0AEC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4a2f9;
/* rgb */ color: rgb(212, 162, 249);
/* oklch */ color: oklch(78.9% 0.131 310.0);
Tailwind
colors: {
  custom: {
    50: '#e2befb',
    500: '#d4a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #d4a2f9;
$custom-light: #e2befb;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a2f9",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 274.483,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78933,
    "c": 0.13077,
    "h": 310
  },
  "luminance": 0.46677
}

Semantic roles & 50–950 ramp

primary
#D4A2F9
secondary
#E3F5D6
accent
#E40162
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D4A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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