#A97EEB#A97EEB

#A97EEB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.160 H 300.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A97EEB
RGBrgb(169, 126, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(28.1%, 46.4%, 0%, 7.8%)
CIE-LABlab(61.09, 38.66, -49.19)
CIE-LCHlch(61.09, 62.56, 308.16°)
OKLaboklab(68.04% 0.081 -0.138)
OKLCHoklch(68.04% 0.16 300.4)
XYZxyz(38.8150, 29.3547, 82.2023)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EEB #C0EB7E
analogous
#7E89EB #A97EEB #DF7EEB
triadic
#A97EEB #EBA97E #7EEBA9
tetradic
#A97EEB #EB7E89 #C0EB7E #7EEBDF
square
#A97EEB #EB7E89 #C0EB7E #7EEBDF
split-complementary
#A97EEB #EBDF7E #89EB7E
monochromatic
#6520CF #8649E3 #A97EEB #CCB3F3 #EDE5FB

Accessibility & contrast

On white

3.06
#A97EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A97EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EEB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EEB#FFFFFF#000000##000000
##A97EEB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#9C92A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97eeb;
/* rgb */ color: rgb(169, 126, 235);
/* oklch */ color: oklch(68.0% 0.160 300.4);
Tailwind
colors: {
  custom: {
    50: '#c5a4f2',
    500: '#a97eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a97eeb;
$custom-light: #c5a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97eeb",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 263.67,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.16007,
    "h": 300.4
  },
  "luminance": 0.29355
}

Semantic roles & 50–950 ramp

primary
#A97EEB
secondary
#E5F1D4
accent
#D51088
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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