#A97DFB#A97DFB

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

Color values

HEX#A97DFB
RGBrgb(169, 125, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.7%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.71, 43.15, -57.05)
CIE-LCHlch(61.71, 71.53, 307.10°)
OKLaboklab(68.77% 0.0839 -0.161)
OKLCHoklch(68.77% 0.182 297.5)
XYZxyz(41.1041, 30.0668, 94.8860)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97DFB #CFFB7D
analogous
#7D90FB #A97DFB #E87DFB
triadic
#A97DFB #FBA97D #7DFBA9
tetradic
#A97DFB #FB7D90 #CFFB7D #7DFBE8
square
#A97DFB #FB7D90 #CFFB7D #7DFBE8
split-complementary
#A97DFB #FBE87D #90FB7D
monochromatic
#5B08F6 #8242F9 #A97DFB #D0B8FD #EBE1FE

Accessibility & contrast

On white

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

On black

7.01
#A97DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A97DFB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97DFB#FFFFFF#000000##000000
##A97DFB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#9795B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97dfb;
/* rgb */ color: rgb(169, 125, 251);
/* oklch */ color: oklch(68.8% 0.182 297.5);
Tailwind
colors: {
  custom: {
    50: '#c6a3fd',
    500: '#a97dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a97dfb;
$custom-light: #c6a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a97dfb",
  "rgb": {
    "r": 169,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 260.952,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68772,
    "c": 0.18157,
    "h": 297.5
  },
  "luminance": 0.30067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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