#A97ECD#A97ECD

#A97ECD is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.5% C 0.122 H 308.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A97ECD
RGBrgb(169, 126, 205)
HSLhsl(273, 44%, 65%)
HSVhsv(273, 39%, 80%)
CMYKcmyk(17.6%, 38.5%, 0%, 19.6%)
CIE-LABlab(59.68, 31.65, -34.64)
CIE-LCHlch(59.68, 46.92, 312.41°)
OKLaboklab(66.51% 0.076 -0.0959)
OKLCHoklch(66.51% 0.122 308.4)
XYZxyz(34.8404, 27.7649, 61.2695)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97ECD #A2CD7E
analogous
#817ECD #A97ECD #CD7ECA
triadic
#A97ECD #CDA97E #7ECDA9
tetradic
#A97ECD #CD817E #A2CD7E #7ECACD
square
#A97ECD #CD817E #A2CD7E #7ECACD
split-complementary
#A97ECD #CACD7E #7ECD81
monochromatic
#6C3A96 #8C52BC #A97ECD #C6AADE #E4D6EF

Accessibility & contrast

On white

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

On black

6.55
#A97ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97ECD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97ECD#FFFFFF#000000##000000
##A97ECD1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#A48A9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a97ecd;
/* rgb */ color: rgb(169, 126, 205);
/* oklch */ color: oklch(66.5% 0.122 308.4);
Tailwind
colors: {
  custom: {
    50: '#c4a4dc',
    500: '#a97ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a97ecd;
$custom-light: #c4a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ecd",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 272.658,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66507,
    "c": 0.12235,
    "h": 308.4
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#A97ECD
secondary
#D2E1C6
accent
#B72E6D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A97ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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