#A97FFB#A97FFB

#A97FFB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.179 H 297.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A97FFB
RGBrgb(169, 127, 251)
HSLhsl(260, 94%, 74%)
HSVhsv(260, 49%, 98%)
CMYKcmyk(32.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(62.15, 42.04, -56.35)
CIE-LCHlch(62.15, 70.30, 306.72°)
OKLaboklab(69.1% 0.0814 -0.159)
OKLCHoklch(69.1% 0.179 297.1)
XYZxyz(41.3598, 30.5783, 94.9712)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FFB #D1FB7F
analogous
#7F93FB #A97FFB #E77FFB
triadic
#A97FFB #FBA97F #7FFBA9
tetradic
#A97FFB #FB7F93 #D1FB7F #7FFBE7
square
#A97FFB #FB7F93 #D1FB7F #7FFBE7
split-complementary
#A97FFB #FBE77F #93FB7F
monochromatic
#5908F7 #8144F9 #A97FFB #D1BAFD #EBE1FE

Accessibility & contrast

On white

2.95
#A97FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A97FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97FFB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FFB#FFFFFF#000000##000000
##A97FFB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#9797B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a97ffb;
/* rgb */ color: rgb(169, 127, 251);
/* oklch */ color: oklch(69.1% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#c6a5fd',
    500: '#a97ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a97ffb;
$custom-light: #c6a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ffb",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 260.323,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69098,
    "c": 0.1786,
    "h": 297.1
  },
  "luminance": 0.30579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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