#A997EF#A997EF

#A997EF is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.7% C 0.126 H 292.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A997EF
RGBrgb(169, 151, 239)
HSLhsl(252, 73%, 76%)
HSVhsv(252, 37%, 94%)
CMYKcmyk(29.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(67.13, 25.55, -41.90)
CIE-LCHlch(67.13, 49.07, 301.37°)
OKLaboklab(72.66% 0.0481 -0.1169)
OKLCHoklch(72.66% 0.126 292.4)
XYZxyz(43.0049, 36.7995, 86.4819)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997EF #DDEF97
analogous
#97B1EF #A997EF #D597EF
triadic
#A997EF #EFA997 #97EFA9
tetradic
#A997EF #EF97B1 #DDEF97 #97EFD5
square
#A997EF #EF97B1 #DDEF97 #97EFD5
split-complementary
#A997EF #EFD597 #B1EF97
monochromatic
#512DDF #7D62E7 #A997EF #D5CCF7 #E9E4FB

Accessibility & contrast

On white

2.51
#A997EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A997EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997EF#FFFFFF#000000##000000
##A997EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#99A7B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a997ef;
/* rgb */ color: rgb(169, 151, 239);
/* oklch */ color: oklch(72.7% 0.126 292.4);
Tailwind
colors: {
  custom: {
    50: '#c4b5f4',
    500: '#a997ef',
    950: '#000000',
  },
}
SCSS
$custom: #a997ef;
$custom-light: #c4b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a997ef",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 252.273,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.1264,
    "h": 292.4
  },
  "luminance": 0.368
}

Semantic roles & 50–950 ramp

primary
#A997EF
secondary
#EDF3D8
accent
#D510AD
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #A997EF

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

Preview Lab → · Contrast checker → · Palette generator →

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