#A97FF4#A97FF4

#A97FF4 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.170 H 298.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A97FF4
RGBrgb(169, 127, 244)
HSLhsl(262, 84%, 73%)
HSVhsv(262, 48%, 96%)
CMYKcmyk(30.7%, 48%, 0%, 4.3%)
CIE-LABlab(61.78, 40.30, -53.08)
CIE-LCHlch(61.78, 66.65, 307.21°)
OKLaboklab(68.7% 0.0808 -0.1494)
OKLCHoklch(68.7% 0.17 298.4)
XYZxyz(40.2768, 30.1450, 89.2670)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF4 #CAF47F
analogous
#7F90F4 #A97FF4 #E37FF4
triadic
#A97FF4 #F4A97F #7FF4A9
tetradic
#A97FF4 #F47F90 #CAF47F #7FF4E3
square
#A97FF4 #F47F90 #CAF47F #7FF4E3
split-complementary
#A97FF4 #F4E37F #90F47F
monochromatic
#5F14E5 #8347EF #A97FF4 #CFB7F9 #ECE3FD

Accessibility & contrast

On white

2.99
#A97FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A97FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FF4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF4#FFFFFF#000000##000000
##A97FF41.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F8
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#9995AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ff4;
/* rgb */ color: rgb(169, 127, 244);
/* oklch */ color: oklch(68.7% 0.170 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5a5f8',
    500: '#a97ff4',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff4;
$custom-light: #c5a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff4",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 261.538,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68701,
    "c": 0.16983,
    "h": 298.4
  },
  "luminance": 0.30145
}

Semantic roles & 50–950 ramp

primary
#A97FF4
secondary
#EAF5D6
accent
#E10592
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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