#D9A2F9#D9A2F9

#D9A2F9 is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.4% C 0.133 H 312.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D9A2F9
RGBrgb(217, 162, 249)
HSLhsl(278, 88%, 81%)
HSVhsv(278, 35%, 98%)
CMYKcmyk(12.9%, 34.9%, 0%, 2.4%)
CIE-LABlab(74.47, 35.69, -35.58)
CIE-LCHlch(74.47, 50.40, 315.09°)
OKLaboklab(79.41% 0.0897 -0.0979)
OKLCHoklch(79.41% 0.133 312.5)
XYZxyz(58.6316, 47.4329, 95.6709)
Luminance0.4743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A2F9 #C2F9A2
analogous
#ADA2F9 #D9A2F9 #F9A2ED
triadic
#D9A2F9 #F9D9A2 #A2F9D9
tetradic
#D9A2F9 #F9ADA2 #C2F9A2 #A2EDF9
square
#D9A2F9 #F9ADA2 #C2F9A2 #A2EDF9
split-complementary
#D9A2F9 #EDF9A2 #A2F9AD
monochromatic
#AA2FF2 #C269F5 #D9A2F9 #F0DBFD #F3E2FD

Accessibility & contrast

On white

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

On black

10.49
#D9A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A2F9
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A2F9#FFFFFF#000000##000000
##D9A2F91.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FC
Deuteranopia (green-blind)
#A0B9F6
Tritanopia (blue-blind)
#D6AEC2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9a2f9;
/* rgb */ color: rgb(217, 162, 249);
/* oklch */ color: oklch(79.4% 0.133 312.5);
Tailwind
colors: {
  custom: {
    50: '#e6befb',
    500: '#d9a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #d9a2f9;
$custom-light: #e6befb;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a2f9",
  "rgb": {
    "r": 217,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 277.931,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.13277,
    "h": 312.5
  },
  "luminance": 0.47432
}

Semantic roles & 50–950 ramp

primary
#D9A2F9
secondary
#E1F5D6
accent
#E40155
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D9A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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