#A97FF6#A97FF6

#A97FF6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.172 H 298.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A97FF6
RGBrgb(169, 127, 246)
HSLhsl(261, 87%, 73%)
HSVhsv(261, 48%, 96%)
CMYKcmyk(31.3%, 48.4%, 0%, 3.5%)
CIE-LABlab(61.88, 40.80, -54.02)
CIE-LCHlch(61.88, 67.69, 307.06°)
OKLaboklab(68.81% 0.0809 -0.1521)
OKLCHoklch(68.81% 0.172 298)
XYZxyz(40.5821, 30.2672, 90.8750)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FF6 #CCF67F
analogous
#7F91F6 #A97FF6 #E47FF6
triadic
#A97FF6 #F6A97F #7FF6A9
tetradic
#A97FF6 #F67F91 #CCF67F #7FF6E4
square
#A97FF6 #F67F91 #CCF67F #7FF6E4
split-complementary
#A97FF6 #F6E47F #91F67F
monochromatic
#5D10EA #8346F2 #A97FF6 #CFB8FA #ECE2FD

Accessibility & contrast

On white

2.98
#A97FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#A97FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FF6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FF6#FFFFFF#000000##000000
##A97FF61.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#6194F3
Tritanopia (blue-blind)
#9995AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97ff6;
/* rgb */ color: rgb(169, 127, 246);
/* oklch */ color: oklch(68.8% 0.172 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6a5fa',
    500: '#a97ff6',
    950: '#000000',
  },
}
SCSS
$custom: #a97ff6;
$custom-light: #c6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ff6",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 261.176,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.17234,
    "h": 298
  },
  "luminance": 0.30268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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