#D5A2FA#D5A2FA

#D5A2FA is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.1% C 0.132 H 310.2°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D5A2FA
RGBrgb(213, 162, 250)
HSLhsl(275, 90%, 81%)
HSVhsv(275, 35%, 98%)
CMYKcmyk(14.8%, 35.2%, 0%, 2%)
CIE-LABlab(74.12, 34.71, -36.69)
CIE-LCHlch(74.12, 50.51, 313.41°)
OKLaboklab(79.07% 0.0854 -0.1011)
OKLCHoklch(79.07% 0.132 310.2)
XYZxyz(57.6131, 46.8897, 96.4395)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A2FA #C7FAA2
analogous
#A9A2FA #D5A2FA #FAA2F3
triadic
#D5A2FA #FAD5A2 #A2FAD5
tetradic
#D5A2FA #FAA9A2 #C7FAA2 #A2F3FA
square
#D5A2FA #FAA9A2 #C7FAA2 #A2F3FA
split-complementary
#D5A2FA #F3FAA2 #A2FAA9
monochromatic
#A12EF4 #BB68F7 #D5A2FA #EFDCFD #F2E2FD

Accessibility & contrast

On white

2.02
#D5A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#D5A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A2FA
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A2FA#FFFFFF#000000##000000
##D5A2FA1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#D1AEC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5a2fa;
/* rgb */ color: rgb(213, 162, 250);
/* oklch */ color: oklch(79.1% 0.132 310.2);
Tailwind
colors: {
  custom: {
    50: '#e3befc',
    500: '#d5a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d5a2fa;
$custom-light: #e3befc;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a2fa",
  "rgb": {
    "r": 213,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 274.773,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79072,
    "c": 0.13235,
    "h": 310.2
  },
  "luminance": 0.46889
}

Semantic roles & 50–950 ramp

primary
#D5A2FA
secondary
#E3F6D5
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#151217
muted
#848185

Preview Lab

Preview with #D5A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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