#D2A5FF#D2A5FF

#D2A5FF is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.5% C 0.132 H 306.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D2A5FF
RGBrgb(210, 165, 255)
HSLhsl(270, 100%, 82%)
HSVhsv(270, 35%, 100%)
CMYKcmyk(17.6%, 35.3%, 0%, 0%)
CIE-LABlab(74.72, 33.26, -38.49)
CIE-LCHlch(74.72, 50.87, 310.84°)
OKLaboklab(79.53% 0.0789 -0.1063)
OKLCHoklch(79.53% 0.132 306.6)
XYZxyz(58.0800, 47.8323, 100.7612)
Luminance0.4783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A5FF #D2FFA5
analogous
#A5A5FF #D2A5FF #FFA5FF
triadic
#D2A5FF #FFD2A5 #A5FFD2
tetradic
#D2A5FF #FFA5A5 #D2FFA5 #A5FFFF
square
#D2A5FF #FFA5A5 #D2FFA5 #A5FFFF
split-complementary
#D2A5FF #FFFFA5 #A5FFA5
monochromatic
#952BFF #B368FF #D2A5FF #F0E0FF #F0E0FF

Accessibility & contrast

On white

1.99
#D2A5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#D2A5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A5FF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A5FF#FFFFFF#000000##000000
##D2A5FF1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#9CB8FC
Tritanopia (blue-blind)
#CCB2C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2a5ff;
/* rgb */ color: rgb(210, 165, 255);
/* oklch */ color: oklch(79.5% 0.132 306.6);
Tailwind
colors: {
  custom: {
    50: '#e1c0ff',
    500: '#d2a5ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2a5ff;
$custom-light: #e1c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a5ff",
  "rgb": {
    "r": 210,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79528,
    "c": 0.13239,
    "h": 306.6
  },
  "luminance": 0.47832
}

Semantic roles & 50–950 ramp

primary
#D2A5FF
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2A5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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