#A97EF0#A97EF0

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

Color values

HEX#A97EF0
RGBrgb(169, 126, 240)
HSLhsl(263, 79%, 72%)
HSVhsv(263, 48%, 94%)
CMYKcmyk(29.6%, 47.5%, 0%, 5.9%)
CIE-LABlab(61.35, 39.88, -51.56)
CIE-LCHlch(61.35, 65.18, 307.72°)
OKLaboklab(68.31% 0.0816 -0.1449)
OKLCHoklch(68.31% 0.166 299.4)
XYZxyz(39.5475, 29.6477, 86.0602)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97EF0 #C5F07E
analogous
#7E8CF0 #A97EF0 #E27EF0
triadic
#A97EF0 #F0A97E #7EF0A9
tetradic
#A97EF0 #F07E8C #C5F07E #7EF0E2
square
#A97EF0 #F07E8C #C5F07E #7EF0E2
split-complementary
#A97EF0 #F0E27E #8CF07E
monochromatic
#6219DA #8447EA #A97EF0 #CEB5F6 #EDE4FC

Accessibility & contrast

On white

3.03
#A97EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A97EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97EF0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97EF0#FFFFFF#000000##000000
##A97EF01.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F4
Deuteranopia (green-blind)
#6493ED
Tritanopia (blue-blind)
#9B93AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97ef0;
/* rgb */ color: rgb(169, 126, 240);
/* oklch */ color: oklch(68.3% 0.166 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a4f5',
    500: '#a97ef0',
    950: '#000000',
  },
}
SCSS
$custom: #a97ef0;
$custom-light: #c5a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a97ef0",
  "rgb": {
    "r": 169,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 262.632,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.16634,
    "h": 299.4
  },
  "luminance": 0.29648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A97EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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