#D7ACFA#D7ACFA

#D7ACFA is a light, moderate violet. Relative luminance 0.509; OKLCH L 81.0% C 0.116 H 309.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D7ACFA
RGBrgb(215, 172, 250)
HSLhsl(273, 89%, 83%)
HSVhsv(273, 31%, 98%)
CMYKcmyk(14%, 31.2%, 0%, 2%)
CIE-LABlab(76.59, 29.89, -32.85)
CIE-LCHlch(76.59, 44.41, 312.29°)
OKLaboklab(81% 0.0734 -0.0902)
OKLCHoklch(81% 0.116 309.1)
XYZxyz(60.0290, 50.8548, 97.0775)
Luminance0.5085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ACFA #CFFAAC
analogous
#B0ACFA #D7ACFA #FAACF6
triadic
#D7ACFA #FAD7AC #ACFAD7
tetradic
#D7ACFA #FAB0AC #CFFAAC #ACF6FA
square
#D7ACFA #FAB0AC #CFFAAC #ACF6FA
split-complementary
#D7ACFA #F6FAAC #ACFAB0
monochromatic
#9F39F3 #BB72F7 #D7ACFA #F1E2FD #F1E2FD

Accessibility & contrast

On white

1.88
#D7ACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#D7ACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ACFA
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ACFA#FFFFFF#000000##000000
##D7ACFA1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFD
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#D3B7C8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7acfa;
/* rgb */ color: rgb(215, 172, 250);
/* oklch */ color: oklch(81.0% 0.116 309.1);
Tailwind
colors: {
  custom: {
    50: '#e4c5fc',
    500: '#d7acfa',
    950: '#000000',
  },
}
SCSS
$custom: #d7acfa;
$custom-light: #e4c5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d7acfa",
  "rgb": {
    "r": 215,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 273.077,
    "s": 88.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80997,
    "c": 0.11631,
    "h": 309.1
  },
  "luminance": 0.50854
}

Semantic roles & 50–950 ramp

primary
#D7ACFA
secondary
#9FDD6D
accent
#E50067
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #D7ACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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