#A97ECA#A97ECA

#A97ECA is a light, moderate violet. Relative luminance 0.276; OKLCH L 66.4% C 0.119 H 309.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A97ECA
RGBrgb(169, 126, 202)
HSLhsl(274, 42%, 64%)
HSVhsv(274, 38%, 79%)
CMYKcmyk(16.3%, 37.6%, 0%, 20.8%)
CIE-LABlab(59.55, 30.98, -33.15)
CIE-LCHlch(59.55, 45.37, 313.06°)
OKLaboklab(66.36% 0.0754 -0.0916)
OKLCHoklch(66.36% 0.119 309.4)
XYZxyz(34.4818, 27.6214, 59.3806)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97ECA #9FCA7E
analogous
#837ECA #A97ECA #CA7EC5
triadic
#A97ECA #CAA97E #7ECAA9
tetradic
#A97ECA #CA837E #9FCA7E #7EC5CA
square
#A97ECA #CA837E #9FCA7E #7EC5CA
split-complementary
#A97ECA #C5CA7E #7ECA83
monochromatic
#6C3C92 #8C53B8 #A97ECA #C6A9DC #E3D5EE

Accessibility & contrast

On white

3.22
#A97ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A97ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97ECA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97ECA#FFFFFF#000000##000000
##A97ECA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#A5899B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a97eca;
/* rgb */ color: rgb(169, 126, 202);
/* oklch */ color: oklch(66.4% 0.119 309.4);
Tailwind
colors: {
  custom: {
    50: '#c3a4da',
    500: '#a97eca',
    950: '#000000',
  },
}
SCSS
$custom: #a97eca;
$custom-light: #c3a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a97eca",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 273.947,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.11862,
    "h": 309.4
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#A97ECA
secondary
#D0DFC5
accent
#B5316A
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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