#A97CE2#A97CE2

#A97CE2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.152 H 302.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A97CE2
RGBrgb(169, 124, 226)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 45%, 89%)
CMYKcmyk(25.2%, 45.1%, 0%, 11.4%)
CIE-LABlab(60.20, 37.62, -45.60)
CIE-LCHlch(60.20, 59.12, 309.52°)
OKLaboklab(67.22% 0.0825 -0.1276)
OKLCHoklch(67.22% 0.152 302.9)
XYZxyz(37.2943, 28.3413, 75.4424)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97CE2 #B5E27C
analogous
#7C82E2 #A97CE2 #DC7CE2
triadic
#A97CE2 #E2A97C #7CE2A9
tetradic
#A97CE2 #E27C82 #B5E27C #7CE2DC
square
#A97CE2 #E27C82 #B5E27C #7CE2DC
split-complementary
#A97CE2 #E2DC7C #82E27C
monochromatic
#6929BA #884AD7 #A97CE2 #CAAEED #EBE0F8

Accessibility & contrast

On white

3.15
#A97CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A97CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97CE2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97CE2#FFFFFF#000000##000000
##A97CE21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#9F8EA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a97ce2;
/* rgb */ color: rgb(169, 124, 226);
/* oklch */ color: oklch(67.2% 0.152 302.9);
Tailwind
colors: {
  custom: {
    50: '#c5a3eb',
    500: '#a97ce2',
    950: '#000000',
  },
}
SCSS
$custom: #a97ce2;
$custom-light: #c5a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ce2",
  "rgb": {
    "r": 169,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 266.471,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67218,
    "c": 0.15195,
    "h": 302.9
  },
  "luminance": 0.28341
}

Semantic roles & 50–950 ramp

primary
#A97CE2
secondary
#DFECCE
accent
#CC1A7D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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