#D4A2FA#D4A2FA

#D4A2FA is a light, vivid violet. Relative luminance 0.467; OKLCH L 79.0% C 0.132 H 309.7°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#D4A2FA
RGBrgb(212, 162, 250)
HSLhsl(274, 90%, 81%)
HSVhsv(274, 35%, 98%)
CMYKcmyk(15.2%, 35.2%, 0%, 2%)
CIE-LABlab(74.02, 34.41, -36.85)
CIE-LCHlch(74.02, 50.42, 313.04°)
OKLaboklab(78.98% 0.0842 -0.1016)
OKLCHoklch(78.98% 0.132 309.7)
XYZxyz(57.3239, 46.7405, 96.4259)
Luminance0.4674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A2FA #C8FAA2
analogous
#A8A2FA #D4A2FA #FAA2F4
triadic
#D4A2FA #FAD4A2 #A2FAD4
tetradic
#D4A2FA #FAA8A2 #C8FAA2 #A2F4FA
square
#D4A2FA #FAA8A2 #C8FAA2 #A2F4FA
split-complementary
#D4A2FA #F4FAA2 #A2FAA8
monochromatic
#9E2EF4 #B968F7 #D4A2FA #EFDCFD #F2E2FD

Accessibility & contrast

On white

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

On black

10.35
#D4A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A2FA
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A2FA#FFFFFF#000000##000000
##D4A2FA1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FD
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#D0AEC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4a2fa;
/* rgb */ color: rgb(212, 162, 250);
/* oklch */ color: oklch(79.0% 0.132 309.7);
Tailwind
colors: {
  custom: {
    50: '#e2befc',
    500: '#d4a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4a2fa;
$custom-light: #e2befc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a2fa",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 274.091,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78977,
    "c": 0.13197,
    "h": 309.7
  },
  "luminance": 0.4674
}

Semantic roles & 50–950 ramp

primary
#D4A2FA
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D4A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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