#A97EEF#A97EEF

#A97EEF is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.165 H 299.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A97EEF
RGBrgb(169, 126, 239)
HSLhsl(263, 78%, 72%)
HSVhsv(263, 47%, 94%)
CMYKcmyk(29.3%, 47.3%, 0%, 6.3%)
CIE-LABlab(61.30, 39.63, -51.09)
CIE-LCHlch(61.30, 64.66, 307.80°)
OKLaboklab(68.26% 0.0815 -0.1436)
OKLCHoklch(68.26% 0.165 299.6)
XYZxyz(39.3994, 29.5885, 85.2801)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EEF #C4EF7E
analogous
#7E8CEF #A97EEF #E27EEF
triadic
#A97EEF #EFA97E #7EEFA9
tetradic
#A97EEF #EF7E8C #C4EF7E #7EEFE2
square
#A97EEF #EF7E8C #C4EF7E #7EEFE2
split-complementary
#A97EEF #EFE27E #8CEF7E
monochromatic
#631BD8 #8548E8 #A97EEF #CDB4F6 #EDE4FC

Accessibility & contrast

On white

3.04
#A97EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A97EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EEF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EEF#FFFFFF#000000##000000
##A97EEF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#9B93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97eef;
/* rgb */ color: rgb(169, 126, 239);
/* oklch */ color: oklch(68.3% 0.165 299.6);
Tailwind
colors: {
  custom: {
    50: '#c5a4f5',
    500: '#a97eef',
    950: '#000000',
  },
}
SCSS
$custom: #a97eef;
$custom-light: #c5a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a97eef",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 262.832,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68257,
    "c": 0.16509,
    "h": 299.6
  },
  "luminance": 0.29589
}

Semantic roles & 50–950 ramp

primary
#A97EEF
secondary
#E8F3D6
accent
#DA0B8B
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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