#D7A2FA#D7A2FA

#D7A2FA is a light, vivid violet. Relative luminance 0.472; OKLCH L 79.3% C 0.133 H 311.2°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D7A2FA
RGBrgb(215, 162, 250)
HSLhsl(276, 90%, 81%)
HSVhsv(276, 35%, 98%)
CMYKcmyk(14%, 35.2%, 0%, 2%)
CIE-LABlab(74.31, 35.30, -36.38)
CIE-LCHlch(74.31, 50.69, 314.14°)
OKLaboklab(79.26% 0.0876 -0.1002)
OKLCHoklch(79.26% 0.133 311.2)
XYZxyz(58.1970, 47.1907, 96.4668)
Luminance0.4719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A2FA #C5FAA2
analogous
#ABA2FA #D7A2FA #FAA2F1
triadic
#D7A2FA #FAD7A2 #A2FAD7
tetradic
#D7A2FA #FAABA2 #C5FAA2 #A2F1FA
square
#D7A2FA #FAABA2 #C5FAA2 #A2F1FA
split-complementary
#D7A2FA #F1FAA2 #A2FAAB
monochromatic
#A52EF4 #BE68F7 #D7A2FA #F0DCFD #F3E2FD

Accessibility & contrast

On white

2.01
#D7A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#D7A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A2FA
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A2FA#FFFFFF#000000##000000
##D7A2FA1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#9EB8F7
Tritanopia (blue-blind)
#D3AEC3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7a2fa;
/* rgb */ color: rgb(215, 162, 250);
/* oklch */ color: oklch(79.3% 0.133 311.2);
Tailwind
colors: {
  custom: {
    50: '#e4befc',
    500: '#d7a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7a2fa;
$custom-light: #e4befc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a2fa",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 276.136,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79262,
    "c": 0.13312,
    "h": 311.2
  },
  "luminance": 0.4719
}

Semantic roles & 50–950 ramp

primary
#D7A2FA
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D7A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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