#A97ECC#A97ECC

#A97ECC is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.5% C 0.121 H 308.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A97ECC
RGBrgb(169, 126, 204)
HSLhsl(273, 43%, 65%)
HSVhsv(273, 38%, 80%)
CMYKcmyk(17.2%, 38.2%, 0%, 20%)
CIE-LABlab(59.63, 31.42, -34.15)
CIE-LCHlch(59.63, 46.41, 312.62°)
OKLaboklab(66.46% 0.0758 -0.0945)
OKLCHoklch(66.46% 0.121 308.7)
XYZxyz(34.7201, 27.7167, 60.6358)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97ECC #A1CC7E
analogous
#827ECC #A97ECC #CC7EC8
triadic
#A97ECC #CCA97E #7ECCA9
tetradic
#A97ECC #CC827E #A1CC7E #7EC8CC
square
#A97ECC #CC827E #A1CC7E #7EC8CC
split-complementary
#A97ECC #C8CC7E #7ECC82
monochromatic
#6C3B95 #8C52BB #A97ECC #C6AADD #E3D6EF

Accessibility & contrast

On white

3.21
#A97ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A97ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97ECC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97ECC#FFFFFF#000000##000000
##A97ECC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#A58A9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a97ecc;
/* rgb */ color: rgb(169, 126, 204);
/* oklch */ color: oklch(66.5% 0.121 308.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4dc',
    500: '#a97ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a97ecc;
$custom-light: #c4a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ecc",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 273.077,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.1211,
    "h": 308.7
  },
  "luminance": 0.27716
}

Semantic roles & 50–950 ramp

primary
#A97ECC
secondary
#D2E0C6
accent
#B62F6C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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