#A997FC#A997FC

#A997FC is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.144 H 290.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A997FC
RGBrgb(169, 151, 252)
HSLhsl(251, 94%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(32.9%, 40.1%, 0%, 1.2%)
CIE-LABlab(67.72, 28.81, -48.07)
CIE-LCHlch(67.72, 56.05, 300.94°)
OKLaboklab(73.31% 0.0506 -0.1348)
OKLCHoklch(73.31% 0.144 290.6)
XYZxyz(44.9949, 37.5955, 96.9626)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997FC #EAFC97
analogous
#97B8FC #A997FC #DC97FC
triadic
#A997FC #FCA997 #97FCA9
tetradic
#A997FC #FC97B8 #EAFC97 #97FCDC
square
#A997FC #FC97B8 #EAFC97 #97FCDC
split-complementary
#A997FC #FCDC97 #B8FC97
monochromatic
#4720F9 #785CFA #A997FC #DAD2FE #E6E1FE

Accessibility & contrast

On white

2.46
#A997FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A997FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997FC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997FC#FFFFFF#000000##000000
##A997FC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#95AABD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a997fc;
/* rgb */ color: rgb(169, 151, 252);
/* oklch */ color: oklch(73.3% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#c5b5fe',
    500: '#a997fc',
    950: '#000000',
  },
}
SCSS
$custom: #a997fc;
$custom-light: #c5b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a997fc",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 250.693,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.14399,
    "h": 290.6
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#A997FC
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A997FC

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

Preview Lab → · Contrast checker → · Palette generator →

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