#D7A0FA#D7A0FA

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

Color values

HEX#D7A0FA
RGBrgb(215, 160, 250)
HSLhsl(277, 90%, 80%)
HSVhsv(277, 36%, 98%)
CMYKcmyk(14%, 36%, 0%, 2%)
CIE-LABlab(73.86, 36.38, -37.07)
CIE-LCHlch(73.86, 51.95, 314.46°)
OKLaboklab(78.92% 0.0905 -0.1022)
OKLCHoklch(78.92% 0.136 311.5)
XYZxyz(57.8475, 46.4917, 96.3503)
Luminance0.4649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A0FA #C3FAA0
analogous
#AAA0FA #D7A0FA #FAA0F0
triadic
#D7A0FA #FAD7A0 #A0FAD7
tetradic
#D7A0FA #FAAAA0 #C3FAA0 #A0F0FA
square
#D7A0FA #FAAAA0 #C3FAA0 #A0F0FA
split-complementary
#D7A0FA #F0FAA0 #A0FAAA
monochromatic
#A62CF4 #BF66F7 #D7A0FA #EFDAFD #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7A0FA#FFFFFF#000000##000000
##D7A0FA1.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)
#90B3FD
Deuteranopia (green-blind)
#9CB7F7
Tritanopia (blue-blind)
#D4ACC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d7a0fa;
/* rgb */ color: rgb(215, 160, 250);
/* oklch */ color: oklch(78.9% 0.136 311.5);
Tailwind
colors: {
  custom: {
    50: '#e4bdfc',
    500: '#d7a0fa',
    950: '#000000',
  },
}
SCSS
$custom: #d7a0fa;
$custom-light: #e4bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a0fa",
  "rgb": {
    "r": 215,
    "g": 160,
    "b": 250
  },
  "hsl": {
    "h": 276.667,
    "s": 90,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78922,
    "c": 0.13648,
    "h": 311.5
  },
  "luminance": 0.46491
}

Semantic roles & 50–950 ramp

primary
#D7A0FA
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D7A0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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