#D2A2FB#D2A2FB

#D2A2FB is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.8% C 0.132 H 308.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#D2A2FB
RGBrgb(210, 162, 251)
HSLhsl(272, 92%, 81%)
HSVhsv(272, 35%, 98%)
CMYKcmyk(16.3%, 35.5%, 0%, 1.6%)
CIE-LABlab(73.87, 34.03, -37.64)
CIE-LCHlch(73.87, 50.74, 312.12°)
OKLaboklab(78.83% 0.0822 -0.1039)
OKLCHoklch(78.83% 0.132 308.3)
XYZxyz(56.9080, 46.5079, 97.2270)
Luminance0.4651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A2FB #CBFBA2
analogous
#A5A2FB #D2A2FB #FBA2F7
triadic
#D2A2FB #FBD2A2 #A2FBD2
tetradic
#D2A2FB #FBA5A2 #CBFBA2 #A2F7FB
square
#D2A2FB #FBA5A2 #CBFBA2 #A2F7FB
split-complementary
#D2A2FB #F7FBA2 #A2FBA5
monochromatic
#992DF6 #B667F8 #D2A2FB #EEDDFE #F1E2FE

Accessibility & contrast

On white

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

On black

10.30
#D2A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A2FB
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A2FB#FFFFFF#000000##000000
##D2A2FB1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FE
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#CDAFC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2a2fb;
/* rgb */ color: rgb(210, 162, 251);
/* oklch */ color: oklch(78.8% 0.132 308.3);
Tailwind
colors: {
  custom: {
    50: '#e1befd',
    500: '#d2a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #d2a2fb;
$custom-light: #e1befd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a2fb",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 272.36,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.13246,
    "h": 308.3
  },
  "luminance": 0.46507
}

Semantic roles & 50–950 ramp

primary
#D2A2FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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