#A97FED#A97FED

#A97FED is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.161 H 299.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A97FED
RGBrgb(169, 127, 237)
HSLhsl(263, 75%, 71%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(28.7%, 46.4%, 0%, 7.1%)
CIE-LABlab(61.42, 38.59, -49.79)
CIE-LCHlch(61.42, 62.99, 307.78°)
OKLaboklab(68.31% 0.0799 -0.1398)
OKLCHoklch(68.31% 0.161 299.8)
XYZxyz(39.2341, 29.7279, 83.7754)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FED #C3ED7F
analogous
#7F8CED #A97FED #E07FED
triadic
#A97FED #EDA97F #7FEDA9
tetradic
#A97FED #ED7F8C #C3ED7F #7FEDE0
square
#A97FED #ED7F8C #C3ED7F #7FEDE0
split-complementary
#A97FED #EDE07F #8CED7F
monochromatic
#631ED4 #8549E5 #A97FED #CDB5F5 #EDE4FB

Accessibility & contrast

On white

3.02
#A97FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A97FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FED
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FED#FFFFFF#000000##000000
##A97FED1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#6794EA
Tritanopia (blue-blind)
#9C93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97fed;
/* rgb */ color: rgb(169, 127, 237);
/* oklch */ color: oklch(68.3% 0.161 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a5f3',
    500: '#a97fed',
    950: '#000000',
  },
}
SCSS
$custom: #a97fed;
$custom-light: #c5a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fed",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 262.909,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.16103,
    "h": 299.8
  },
  "luminance": 0.29728
}

Semantic roles & 50–950 ramp

primary
#A97FED
secondary
#E7F2D6
accent
#D80E8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FED

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

Preview Lab → · Contrast checker → · Palette generator →

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