#A97CFE#A97CFE

#A97CFE is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.187 H 297.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A97CFE
RGBrgb(169, 124, 254)
HSLhsl(261, 98%, 74%)
HSVhsv(261, 51%, 100%)
CMYKcmyk(33.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(61.66, 44.45, -58.78)
CIE-LCHlch(61.66, 73.69, 307.09°)
OKLaboklab(68.79% 0.0854 -0.1661)
OKLCHoklch(68.79% 0.187 297.2)
XYZxyz(41.4548, 30.0055, 97.3543)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97CFE #D1FE7C
analogous
#7C90FE #A97CFE #EA7CFE
triadic
#A97CFE #FEA97C #7CFEA9
tetradic
#A97CFE #FE7C90 #D1FE7C #7CFEEA
square
#A97CFE #FE7C90 #D1FE7C #7CFEEA
split-complementary
#A97CFE #FEEA7C #90FE7C
monochromatic
#5903FD #813FFE #A97CFE #D1B9FE #EBE1FF

Accessibility & contrast

On white

3.00
#A97CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#A97CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97CFE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97CFE#FFFFFF#000000##000000
##A97CFE1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5693FB
Tritanopia (blue-blind)
#9696B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97cfe;
/* rgb */ color: rgb(169, 124, 254);
/* oklch */ color: oklch(68.8% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#c6a3ff',
    500: '#a97cfe',
    950: '#000000',
  },
}
SCSS
$custom: #a97cfe;
$custom-light: #c6a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a97cfe",
  "rgb": {
    "r": 169,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 260.769,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.18676,
    "h": 297.2
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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