#A97EC8#A97EC8

#A97EC8 is a light, moderate violet. Relative luminance 0.275; OKLCH L 66.3% C 0.116 H 310.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A97EC8
RGBrgb(169, 126, 200)
HSLhsl(275, 40%, 64%)
HSVhsv(275, 37%, 78%)
CMYKcmyk(15.5%, 37%, 0%, 21.6%)
CIE-LABlab(59.46, 30.54, -32.16)
CIE-LCHlch(59.46, 44.34, 313.52°)
OKLaboklab(66.27% 0.0749 -0.0887)
OKLCHoklch(66.27% 0.116 310.2)
XYZxyz(34.2465, 27.5273, 58.1416)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EC8 #9DC87E
analogous
#847EC8 #A97EC8 #C87EC2
triadic
#A97EC8 #C8A97E #7EC8A9
tetradic
#A97EC8 #C8847E #9DC87E #7EC2C8
square
#A97EC8 #C8847E #9DC87E #7EC2C8
split-complementary
#A97EC8 #C2C87E #7EC884
monochromatic
#6C3D8F #8C53B6 #A97EC8 #C6A9DA #E2D4ED

Accessibility & contrast

On white

3.23
#A97EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A97EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EC8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EC8#FFFFFF#000000##000000
##A97EC81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#7A90C6
Tritanopia (blue-blind)
#A6899A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a97ec8;
/* rgb */ color: rgb(169, 126, 200);
/* oklch */ color: oklch(66.3% 0.116 310.2);
Tailwind
colors: {
  custom: {
    50: '#c3a4d9',
    500: '#a97ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a97ec8;
$custom-light: #c3a4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ec8",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 274.865,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.11613,
    "h": 310.2
  },
  "luminance": 0.27527
}

Semantic roles & 50–950 ramp

primary
#A97EC8
secondary
#CFDEC4
accent
#B33268
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #A97EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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