#A97DFC#A97DFC

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

Color values

HEX#A97DFC
RGBrgb(169, 125, 252)
HSLhsl(261, 95%, 74%)
HSVhsv(261, 50%, 99%)
CMYKcmyk(32.9%, 50.4%, 0%, 1.2%)
CIE-LABlab(61.77, 43.40, -57.51)
CIE-LCHlch(61.77, 72.05, 307.04°)
OKLaboklab(68.83% 0.084 -0.1624)
OKLCHoklch(68.83% 0.183 297.4)
XYZxyz(41.2622, 30.1300, 95.7184)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DFC #D0FC7D
analogous
#7D91FC #A97DFC #E87DFC
triadic
#A97DFC #FCA97D #7DFCA9
tetradic
#A97DFC #FC7D91 #D0FC7D #7DFCE8
square
#A97DFC #FC7D91 #D0FC7D #7DFCE8
split-complementary
#A97DFC #FCE87D #91FC7D
monochromatic
#5A06F9 #8141FB #A97DFC #D1B9FD #EBE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A97DFC#FFFFFF#000000##000000
##A97DFC1.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)
#4E96FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9796B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97dfc;
/* rgb */ color: rgb(169, 125, 252);
/* oklch */ color: oklch(68.8% 0.183 297.4);
Tailwind
colors: {
  custom: {
    50: '#c6a3fe',
    500: '#a97dfc',
    950: '#000000',
  },
}
SCSS
$custom: #a97dfc;
$custom-light: #c6a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dfc",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 260.787,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6883,
    "c": 0.18281,
    "h": 297.4
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

primary
#A97DFC
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A97DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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