#A97CFB#A97CFB

#A97CFB is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.183 H 297.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A97CFB
RGBrgb(169, 124, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(32.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(61.49, 43.70, -57.40)
CIE-LCHlch(61.49, 72.14, 307.28°)
OKLaboklab(68.61% 0.0852 -0.162)
OKLCHoklch(68.61% 0.183 297.7)
XYZxyz(40.9782, 29.8149, 94.8440)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97CFB #CEFB7C
analogous
#7C8EFB #A97CFB #E87CFB
triadic
#A97CFB #FBA97C #7CFBA9
tetradic
#A97CFB #FB7C8E #CEFB7C #7CFBE8
square
#A97CFB #FB7C8E #CEFB7C #7CFBE8
split-complementary
#A97CFB #FBE87C #8EFB7C
monochromatic
#5C07F5 #8241F9 #A97CFB #D0B7FD #ECE1FE

Accessibility & contrast

On white

3.02
#A97CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A97CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97CFB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97CFB#FFFFFF#000000##000000
##A97CFB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#9795B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97cfb;
/* rgb */ color: rgb(169, 124, 251);
/* oklch */ color: oklch(68.6% 0.183 297.7);
Tailwind
colors: {
  custom: {
    50: '#c6a3fd',
    500: '#a97cfb',
    950: '#000000',
  },
}
SCSS
$custom: #a97cfb;
$custom-light: #c6a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97cfb",
  "rgb": {
    "r": 169,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 261.26,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6861,
    "c": 0.18306,
    "h": 297.7
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#A97CFB
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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