#A97BE4#A97BE4

#A97BE4 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.156 H 302.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A97BE4
RGBrgb(169, 123, 228)
HSLhsl(266, 66%, 69%)
HSVhsv(266, 46%, 89%)
CMYKcmyk(25.9%, 46.1%, 0%, 10.6%)
CIE-LABlab(60.07, 38.65, -46.92)
CIE-LCHlch(60.07, 60.79, 309.48°)
OKLaboklab(67.16% 0.0842 -0.1314)
OKLCHoklch(67.16% 0.156 302.6)
XYZxyz(37.4457, 28.2024, 76.8546)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BE4 #B6E47B
analogous
#7B82E4 #A97BE4 #DE7BE4
triadic
#A97BE4 #E4A97B #7BE4A9
tetradic
#A97BE4 #E47B82 #B6E47B #7BE4DE
square
#A97BE4 #E47B82 #B6E47B #7BE4DE
split-complementary
#A97BE4 #E4DE7B #82E47B
monochromatic
#6927BE #8848DA #A97BE4 #CAAEEE #EBE1F9

Accessibility & contrast

On white

3.16
#A97BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A97BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BE4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BE4#FFFFFF#000000##000000
##A97BE41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#6891E1
Tritanopia (blue-blind)
#9E8DA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a97be4;
/* rgb */ color: rgb(169, 123, 228);
/* oklch */ color: oklch(67.2% 0.156 302.6);
Tailwind
colors: {
  custom: {
    50: '#c5a2ed',
    500: '#a97be4',
    950: '#000000',
  },
}
SCSS
$custom: #a97be4;
$custom-light: #c5a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a97be4",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 266.286,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.15604,
    "h": 302.6
  },
  "luminance": 0.28202
}

Semantic roles & 50–950 ramp

primary
#A97BE4
secondary
#DFEDCE
accent
#CE187E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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