#A97FC2#A97FC2

#A97FC2 is a light, moderate violet. Relative luminance 0.275; OKLCH L 66.2% C 0.107 H 312.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A97FC2
RGBrgb(169, 127, 194)
HSLhsl(278, 35%, 63%)
HSVhsv(278, 35%, 76%)
CMYKcmyk(12.9%, 34.5%, 0%, 23.9%)
CIE-LABlab(59.44, 28.66, -28.79)
CIE-LCHlch(59.44, 40.62, 314.88°)
OKLaboklab(66.18% 0.072 -0.0791)
OKLCHoklch(66.18% 0.107 312.3)
XYZxyz(33.6875, 27.5093, 54.5637)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FC2 #98C27F
analogous
#877FC2 #A97FC2 #C27FB9
triadic
#A97FC2 #C2A97F #7FC2A9
tetradic
#A97FC2 #C2877F #98C27F #7FB9C2
square
#A97FC2 #C2877F #98C27F #7FB9C2
split-complementary
#A97FC2 #B9C27F #7FC287
monochromatic
#6C4087 #8D56AE #A97FC2 #C5A8D6 #E1D2EA

Accessibility & contrast

On white

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

On black

6.50
#A97FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FC2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FC2#FFFFFF#000000##000000
##A97FC21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#7D90C0
Tritanopia (blue-blind)
#A78898
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a97fc2;
/* rgb */ color: rgb(169, 127, 194);
/* oklch */ color: oklch(66.2% 0.107 312.3);
Tailwind
colors: {
  custom: {
    50: '#c3a4d4',
    500: '#a97fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a97fc2;
$custom-light: #c3a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fc2",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 277.612,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66177,
    "c": 0.10698,
    "h": 312.3
  },
  "luminance": 0.27509
}

Semantic roles & 50–950 ramp

primary
#A97FC2
secondary
#CBDAC2
accent
#AE3764
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A97FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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