#A97FE2#A97FE2

#A97FE2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.7% C 0.147 H 302.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A97FE2
RGBrgb(169, 127, 226)
HSLhsl(265, 63%, 69%)
HSVhsv(265, 44%, 89%)
CMYKcmyk(25.2%, 43.8%, 0%, 11.4%)
CIE-LABlab(60.87, 35.94, -44.53)
CIE-LCHlch(60.87, 57.23, 308.90°)
OKLaboklab(67.73% 0.0784 -0.1245)
OKLCHoklch(67.73% 0.147 302.2)
XYZxyz(37.6760, 29.1047, 75.5697)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FE2 #B8E27F
analogous
#7F87E2 #A97FE2 #DB7FE2
triadic
#A97FE2 #E2A97F #7FE2A9
tetradic
#A97FE2 #E27F87 #B8E27F #7FE2DB
square
#A97FE2 #E27F87 #B8E27F #7FE2DB
split-complementary
#A97FE2 #E2DB7F #87E27F
monochromatic
#682BBC #874DD7 #A97FE2 #CBB1ED #ECE3F9

Accessibility & contrast

On white

3.08
#A97FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A97FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FE2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FE2#FFFFFF#000000##000000
##A97FE21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#6E93DF
Tritanopia (blue-blind)
#9F90A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97fe2;
/* rgb */ color: rgb(169, 127, 226);
/* oklch */ color: oklch(67.7% 0.147 302.2);
Tailwind
colors: {
  custom: {
    50: '#c4a5eb',
    500: '#a97fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a97fe2;
$custom-light: #c4a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fe2",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 265.455,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.14713,
    "h": 302.2
  },
  "luminance": 0.29105
}

Semantic roles & 50–950 ramp

primary
#A97FE2
secondary
#E1EDD0
accent
#CB1B80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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