#A97EFB#A97EFB

#A97EFB is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.180 H 297.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A97EFB
RGBrgb(169, 126, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(61.93, 42.59, -56.70)
CIE-LCHlch(61.93, 70.92, 306.91°)
OKLaboklab(68.93% 0.0827 -0.16)
OKLCHoklch(68.93% 0.18 297.3)
XYZxyz(41.2313, 30.3212, 94.9284)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EFB #D0FB7E
analogous
#7E92FB #A97EFB #E87EFB
triadic
#A97EFB #FBA97E #7EFBA9
tetradic
#A97EFB #FB7E92 #D0FB7E #7EFBE8
square
#A97EFB #FB7E92 #D0FB7E #7EFBE8
split-complementary
#A97EFB #FBE87E #92FB7E
monochromatic
#5A08F7 #8143F9 #A97EFB #D1B9FD #EBE1FE

Accessibility & contrast

On white

2.97
#A97EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A97EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97EFB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EFB#FFFFFF#000000##000000
##A97EFB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#9796B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97efb;
/* rgb */ color: rgb(169, 126, 251);
/* oklch */ color: oklch(68.9% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#c6a4fd',
    500: '#a97efb',
    950: '#000000',
  },
}
SCSS
$custom: #a97efb;
$custom-light: #c6a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97efb",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 260.64,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.18008,
    "h": 297.3
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#A97EFB
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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