#A97EFC#A97EFC

#A97EFC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.181 H 297.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A97EFC
RGBrgb(169, 126, 252)
HSLhsl(260, 95%, 74%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(32.9%, 50%, 0%, 1.2%)
CIE-LABlab(61.98, 42.84, -57.16)
CIE-LCHlch(61.98, 71.44, 306.85°)
OKLaboklab(68.99% 0.0828 -0.1613)
OKLCHoklch(68.99% 0.181 297.2)
XYZxyz(41.3894, 30.3845, 95.7608)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EFC #D1FC7E
analogous
#7E92FC #A97EFC #E87EFC
triadic
#A97EFC #FCA97E #7EFCA9
tetradic
#A97EFC #FC7E92 #D1FC7E #7EFCE8
square
#A97EFC #FC7E92 #D1FC7E #7EFCE8
split-complementary
#A97EFC #FCE87E #92FC7E
monochromatic
#5906F9 #8142FB #A97EFC #D1BAFD #EBE1FE

Accessibility & contrast

On white

2.97
#A97EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A97EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EFC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EFC#FFFFFF#000000##000000
##A97EFC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#9796B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97efc;
/* rgb */ color: rgb(169, 126, 252);
/* oklch */ color: oklch(69.0% 0.181 297.2);
Tailwind
colors: {
  custom: {
    50: '#c6a4fe',
    500: '#a97efc',
    950: '#000000',
  },
}
SCSS
$custom: #a97efc;
$custom-light: #c6a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a97efc",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 260.476,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.18133,
    "h": 297.2
  },
  "luminance": 0.30385
}

Semantic roles & 50–950 ramp

primary
#A97EFC
secondary
#EBF7D4
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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