#A997F2#A997F2

#A997F2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.8% C 0.130 H 291.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A997F2
RGBrgb(169, 151, 242)
HSLhsl(252, 78%, 77%)
HSVhsv(252, 38%, 95%)
CMYKcmyk(30.2%, 37.6%, 0%, 5.1%)
CIE-LABlab(67.26, 26.29, -43.33)
CIE-LCHlch(67.26, 50.69, 301.25°)
OKLaboklab(72.81% 0.0487 -0.121)
OKLCHoklch(72.81% 0.13 291.9)
XYZxyz(43.4518, 36.9782, 88.8354)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A997F2 #E0F297
analogous
#97B3F2 #A997F2 #D797F2
triadic
#A997F2 #F2A997 #97F2A9
tetradic
#A997F2 #F297B3 #E0F297 #97F2D7
square
#A997F2 #F297B3 #E0F297 #97F2D7
split-complementary
#A997F2 #F2D797 #B3F297
monochromatic
#4F2AE4 #7C61EB #A997F2 #D6CDF9 #E9E4FC

Accessibility & contrast

On white

2.50
#A997F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A997F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A997F2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A997F2#FFFFFF#000000##000000
##A997F21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#98A7B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a997f2;
/* rgb */ color: rgb(169, 151, 242);
/* oklch */ color: oklch(72.8% 0.130 291.9);
Tailwind
colors: {
  custom: {
    50: '#c4b5f6',
    500: '#a997f2',
    950: '#000000',
  },
}
SCSS
$custom: #a997f2;
$custom-light: #c4b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a997f2",
  "rgb": {
    "r": 169,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 251.868,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72808,
    "c": 0.13047,
    "h": 291.9
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#A997F2
secondary
#EEF3D8
accent
#DA0BB1
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #A997F2

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

Preview Lab → · Contrast checker → · Palette generator →

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