#D7AFF7#D7AFF7

#D7AFF7 is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.4% C 0.108 H 309.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D7AFF7
RGBrgb(215, 175, 247)
HSLhsl(273, 82%, 83%)
HSVhsv(273, 29%, 97%)
CMYKcmyk(13%, 29.1%, 0%, 3.1%)
CIE-LABlab(77.17, 27.64, -30.34)
CIE-LCHlch(77.17, 41.04, 312.33°)
OKLaboklab(81.41% 0.0683 -0.0831)
OKLCHoklch(81.41% 0.108 309.4)
XYZxyz(60.1398, 51.8230, 94.8123)
Luminance0.5182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AFF7 #CFF7AF
analogous
#B3AFF7 #D7AFF7 #F7AFF3
triadic
#D7AFF7 #F7D7AF #AFF7D7
tetradic
#D7AFF7 #F7B3AF #CFF7AF #AFF3F7
square
#D7AFF7 #F7B3AF #CFF7AF #AFF3F7
split-complementary
#D7AFF7 #F3F7AF #AFF7B3
monochromatic
#9F40EC #BB77F1 #D7AFF7 #F1E3FC #F1E3FC

Accessibility & contrast

On white

1.85
#D7AFF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D7AFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AFF7
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AFF7#FFFFFF#000000##000000
##D7AFF71.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BDFA
Deuteranopia (green-blind)
#ABBFF5
Tritanopia (blue-blind)
#D3B9C9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7aff7;
/* rgb */ color: rgb(215, 175, 247);
/* oklch */ color: oklch(81.4% 0.108 309.4);
Tailwind
colors: {
  custom: {
    50: '#e4c7fa',
    500: '#d7aff7',
    950: '#000000',
  },
}
SCSS
$custom: #d7aff7;
$custom-light: #e4c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d7aff7",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 273.333,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81407,
    "c": 0.10759,
    "h": 309.4
  },
  "luminance": 0.51822
}

Semantic roles & 50–950 ramp

primary
#D7AFF7
secondary
#9FD972
accent
#DE0767
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D7AFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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