#A97CE7#A97CE7

#A97CE7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.158 H 301.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A97CE7
RGBrgb(169, 124, 231)
HSLhsl(265, 69%, 70%)
HSVhsv(265, 46%, 91%)
CMYKcmyk(26.8%, 46.3%, 0%, 9.4%)
CIE-LABlab(60.44, 38.81, -48.00)
CIE-LCHlch(60.44, 61.72, 308.96°)
OKLaboklab(67.49% 0.0832 -0.1346)
OKLCHoklch(67.49% 0.158 301.7)
XYZxyz(37.9904, 28.6198, 79.1085)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97CE7 #BAE77C
analogous
#7C85E7 #A97CE7 #DF7CE7
triadic
#A97CE7 #E7A97C #7CE7A9
tetradic
#A97CE7 #E77C85 #BAE77C #7CE7DF
square
#A97CE7 #E77C85 #BAE77C #7CE7DF
split-complementary
#A97CE7 #E7DF7C #85E77C
monochromatic
#6824C5 #8748DE #A97CE7 #CBB0F0 #EDE3FA

Accessibility & contrast

On white

3.12
#A97CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A97CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97CE7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97CE7#FFFFFF#000000##000000
##A97CE71.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#6891E4
Tritanopia (blue-blind)
#9E8FA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97ce7;
/* rgb */ color: rgb(169, 124, 231);
/* oklch */ color: oklch(67.5% 0.158 301.7);
Tailwind
colors: {
  custom: {
    50: '#c5a3ef',
    500: '#a97ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a97ce7;
$custom-light: #c5a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ce7",
  "rgb": {
    "r": 169,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 265.234,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.1582,
    "h": 301.7
  },
  "luminance": 0.2862
}

Semantic roles & 50–950 ramp

primary
#A97CE7
secondary
#E2EFD0
accent
#D11582
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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