#A97ECF#A97ECF

#A97ECF is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.6% C 0.125 H 307.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A97ECF
RGBrgb(169, 126, 207)
HSLhsl(272, 46%, 65%)
HSVhsv(272, 39%, 81%)
CMYKcmyk(18.4%, 39.1%, 0%, 18.8%)
CIE-LABlab(59.76, 32.10, -35.63)
CIE-LCHlch(59.76, 47.96, 312.01°)
OKLaboklab(66.6% 0.0764 -0.0987)
OKLCHoklch(66.6% 0.125 307.7)
XYZxyz(35.0834, 27.8621, 62.5491)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97ECF #A4CF7E
analogous
#807ECF #A97ECF #CF7ECC
triadic
#A97ECF #CFA97E #7ECFA9
tetradic
#A97ECF #CF807E #A4CF7E #7ECCCF
square
#A97ECF #CF807E #A4CF7E #7ECCCF
split-complementary
#A97ECF #CCCF7E #7ECF80
monochromatic
#6C3999 #8B51BE #A97ECF #C7ABE0 #E4D7F0

Accessibility & contrast

On white

3.20
#A97ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A97ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97ECF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97ECF#FFFFFF#000000##000000
##A97ECF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#A48A9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a97ecf;
/* rgb */ color: rgb(169, 126, 207);
/* oklch */ color: oklch(66.6% 0.125 307.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4de',
    500: '#a97ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a97ecf;
$custom-light: #c4a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ecf",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 271.852,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.12485,
    "h": 307.7
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#A97ECF
secondary
#D4E2C7
accent
#B92D6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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