#D7A2F9#D7A2F9

#D7A2F9 is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.2% C 0.132 H 311.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#D7A2F9
RGBrgb(215, 162, 249)
HSLhsl(277, 88%, 81%)
HSVhsv(277, 35%, 98%)
CMYKcmyk(13.7%, 34.9%, 0%, 2.4%)
CIE-LABlab(74.27, 35.10, -35.90)
CIE-LCHlch(74.27, 50.20, 314.35°)
OKLaboklab(79.22% 0.0874 -0.0988)
OKLCHoklch(79.22% 0.132 311.5)
XYZxyz(58.0406, 47.1281, 95.6432)
Luminance0.4713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A2F9 #C4F9A2
analogous
#ABA2F9 #D7A2F9 #F9A2EF
triadic
#D7A2F9 #F9D7A2 #A2F9D7
tetradic
#D7A2F9 #F9ABA2 #C4F9A2 #A2EFF9
square
#D7A2F9 #F9ABA2 #C4F9A2 #A2EFF9
split-complementary
#D7A2F9 #EFF9A2 #A2F9AB
monochromatic
#A62FF2 #BE69F5 #D7A2F9 #F0DBFD #F3E2FD

Accessibility & contrast

On white

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

On black

10.43
#D7A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A2F9
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A2F9#FFFFFF#000000##000000
##D7A2F91.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FC
Deuteranopia (green-blind)
#9FB8F6
Tritanopia (blue-blind)
#D4AEC2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7a2f9;
/* rgb */ color: rgb(215, 162, 249);
/* oklch */ color: oklch(79.2% 0.132 311.5);
Tailwind
colors: {
  custom: {
    50: '#e4befb',
    500: '#d7a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #d7a2f9;
$custom-light: #e4befb;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a2f9",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 276.552,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79219,
    "c": 0.13194,
    "h": 311.5
  },
  "luminance": 0.47127
}

Semantic roles & 50–950 ramp

primary
#D7A2F9
secondary
#E2F5D6
accent
#E4015A
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D7A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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