#D2A2F9#D2A2F9

#D2A2F9 is a light, vivid violet. Relative luminance 0.464; OKLCH L 78.7% C 0.130 H 308.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D2A2F9
RGBrgb(210, 162, 249)
HSLhsl(273, 88%, 81%)
HSVhsv(273, 35%, 98%)
CMYKcmyk(15.7%, 34.9%, 0%, 2.4%)
CIE-LABlab(73.79, 33.61, -36.68)
CIE-LCHlch(73.79, 49.75, 312.50°)
OKLaboklab(78.74% 0.0817 -0.1011)
OKLCHoklch(78.74% 0.13 308.9)
XYZxyz(56.5944, 46.3825, 95.5754)
Luminance0.4638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A2F9 #C9F9A2
analogous
#A6A2F9 #D2A2F9 #F9A2F5
triadic
#D2A2F9 #F9D2A2 #A2F9D2
tetradic
#D2A2F9 #F9A6A2 #C9F9A2 #A2F5F9
square
#D2A2F9 #F9A6A2 #C9F9A2 #A2F5F9
split-complementary
#D2A2F9 #F5F9A2 #A2F9A6
monochromatic
#9A2FF2 #B669F5 #D2A2F9 #EEDBFD #F1E2FD

Accessibility & contrast

On white

2.04
#D2A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D2A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A2F9
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A2F9#FFFFFF#000000##000000
##D2A2F91.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FC
Deuteranopia (green-blind)
#9CB6F6
Tritanopia (blue-blind)
#CDAEC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2a2f9;
/* rgb */ color: rgb(210, 162, 249);
/* oklch */ color: oklch(78.7% 0.130 308.9);
Tailwind
colors: {
  custom: {
    50: '#e1befb',
    500: '#d2a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #d2a2f9;
$custom-light: #e1befb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a2f9",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 273.103,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78744,
    "c": 0.13004,
    "h": 308.9
  },
  "luminance": 0.46382
}

Semantic roles & 50–950 ramp

primary
#D2A2F9
secondary
#E4F5D6
accent
#E40167
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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