#A997F0#A997F0

#A997F0 is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.7% C 0.128 H 292.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A997F0
RGBrgb(169, 151, 240)
HSLhsl(252, 75%, 77%)
HSVhsv(252, 37%, 94%)
CMYKcmyk(29.6%, 37.1%, 0%, 5.9%)
CIE-LABlab(67.17, 25.80, -42.38)
CIE-LCHlch(67.17, 49.61, 301.33°)
OKLaboklab(72.71% 0.0483 -0.1183)
OKLCHoklch(72.71% 0.128 292.2)
XYZxyz(43.1530, 36.8587, 87.2621)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997F0 #DEF097
analogous
#97B2F0 #A997F0 #D697F0
triadic
#A997F0 #F0A997 #97F0A9
tetradic
#A997F0 #F097B2 #DEF097 #97F0D6
square
#A997F0 #F097B2 #DEF097 #97F0D6
split-complementary
#A997F0 #F0D697 #B2F097
monochromatic
#512CE1 #7D62E8 #A997F0 #D5CCF8 #E9E4FB

Accessibility & contrast

On white

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

On black

8.37
#A997F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997F0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997F0#FFFFFF#000000##000000
##A997F01.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F3
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#99A7B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a997f0;
/* rgb */ color: rgb(169, 151, 240);
/* oklch */ color: oklch(72.7% 0.128 292.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5f5',
    500: '#a997f0',
    950: '#000000',
  },
}
SCSS
$custom: #a997f0;
$custom-light: #c4b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a997f0",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 252.135,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.12775,
    "h": 292.2
  },
  "luminance": 0.3686
}

Semantic roles & 50–950 ramp

primary
#A997F0
secondary
#EDF3D8
accent
#D70FAE
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A997F0

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

Preview Lab → · Contrast checker → · Palette generator →

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