#D2A2FD#D2A2FD

#D2A2FD is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.9% C 0.135 H 307.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D2A2FD
RGBrgb(210, 162, 253)
HSLhsl(272, 96%, 81%)
HSVhsv(272, 36%, 99%)
CMYKcmyk(17%, 36%, 0%, 0.8%)
CIE-LABlab(73.96, 34.46, -38.59)
CIE-LCHlch(73.96, 51.74, 311.76°)
OKLaboklab(78.92% 0.0826 -0.1066)
OKLCHoklch(78.92% 0.135 307.8)
XYZxyz(57.2249, 46.6347, 98.8962)
Luminance0.4663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A2FD #CDFDA2
analogous
#A5A2FD #D2A2FD #FDA2FB
triadic
#D2A2FD #FDD2A2 #A2FDD2
tetradic
#D2A2FD #FDA5A2 #CDFDA2 #A2FBFD
square
#D2A2FD #FDA5A2 #CDFDA2 #A2FBFD
split-complementary
#D2A2FD #FBFDA2 #A2FDA5
monochromatic
#982AFA #B566FC #D2A2FD #EFDEFE #F1E1FE

Accessibility & contrast

On white

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

On black

10.33
#D2A2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A2FD
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A2FD#FFFFFF#000000##000000
##D2A2FD1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#CCAFC4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2a2fd;
/* rgb */ color: rgb(210, 162, 253);
/* oklch */ color: oklch(78.9% 0.135 307.8);
Tailwind
colors: {
  custom: {
    50: '#e1befe',
    500: '#d2a2fd',
    950: '#000000',
  },
}
SCSS
$custom: #d2a2fd;
$custom-light: #e1befe;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a2fd",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 271.648,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78921,
    "c": 0.13489,
    "h": 307.8
  },
  "luminance": 0.46634
}

Semantic roles & 50–950 ramp

primary
#D2A2FD
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2A2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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