#D2A2EB#D2A2EB

#D2A2EB is a light, moderate violet. Relative luminance 0.455; OKLCH L 78.1% C 0.113 H 313.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#D2A2EB
RGBrgb(210, 162, 235)
HSLhsl(279, 65%, 78%)
HSVhsv(279, 31%, 92%)
CMYKcmyk(10.6%, 31.1%, 0%, 7.8%)
CIE-LABlab(73.25, 30.68, -29.92)
CIE-LCHlch(73.25, 42.86, 315.72°)
OKLaboklab(78.15% 0.0783 -0.0819)
OKLCHoklch(78.15% 0.113 313.7)
XYZxyz(54.4916, 45.5414, 84.5009)
Luminance0.4554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A2EB #BBEBA2
analogous
#ADA2EB #D2A2EB #EBA2DF
triadic
#D2A2EB #EBD2A2 #A2EBD2
tetradic
#D2A2EB #EBADA2 #BBEBA2 #A2DFEB
square
#D2A2EB #EBADA2 #BBEBA2 #A2DFEB
split-complementary
#D2A2EB #DFEBA2 #A2EBAD
monochromatic
#A13DD5 #BA70E0 #D2A2EB #EAD4F6 #F3E6FA

Accessibility & contrast

On white

2.08
#D2A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#D2A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A2EB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A2EB#FFFFFF#000000##000000
##D2A2EB1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1EE
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#D0ABBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2a2eb;
/* rgb */ color: rgb(210, 162, 235);
/* oklch */ color: oklch(78.1% 0.113 313.7);
Tailwind
colors: {
  custom: {
    50: '#e0bef1',
    500: '#d2a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #d2a2eb;
$custom-light: #e0bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a2eb",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 279.452,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78149,
    "c": 0.11332,
    "h": 313.7
  },
  "luminance": 0.4554
}

Semantic roles & 50–950 ramp

primary
#D2A2EB
secondary
#E2F1DA
accent
#CC1956
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D2A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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