#D2A5FA#D2A5FA

#D2A5FA is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.3% C 0.126 H 308.0°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D2A5FA
RGBrgb(210, 165, 250)
HSLhsl(272, 89%, 81%)
HSVhsv(272, 34%, 98%)
CMYKcmyk(16%, 34%, 0%, 2%)
CIE-LABlab(74.52, 32.19, -36.10)
CIE-LCHlch(74.52, 48.36, 311.72°)
OKLaboklab(79.31% 0.0777 -0.0995)
OKLCHoklch(79.31% 0.126 308)
XYZxyz(57.2856, 47.5145, 96.5773)
Luminance0.4751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A5FA #CDFAA5
analogous
#A8A5FA #D2A5FA #FAA5F7
triadic
#D2A5FA #FAD2A5 #A5FAD2
tetradic
#D2A5FA #FAA8A5 #CDFAA5 #A5F7FA
square
#D2A5FA #FAA8A5 #CDFAA5 #A5F7FA
split-complementary
#D2A5FA #F7FAA5 #A5FAA8
monochromatic
#9831F4 #B56BF7 #D2A5FA #EFDFFD #F1E2FD

Accessibility & contrast

On white

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

On black

10.50
#D2A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A5FA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A5FA#FFFFFF#000000##000000
##D2A5FA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B5FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#CDB1C4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2a5fa;
/* rgb */ color: rgb(210, 165, 250);
/* oklch */ color: oklch(79.3% 0.126 308.0);
Tailwind
colors: {
  custom: {
    50: '#e1c0fc',
    500: '#d2a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a5fa;
$custom-light: #e1c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a5fa",
  "rgb": {
    "r": 210,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 271.765,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79309,
    "c": 0.12626,
    "h": 308
  },
  "luminance": 0.47514
}

Semantic roles & 50–950 ramp

primary
#D2A5FA
secondary
#E5F5D6
accent
#E6006C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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