#A97FEB#A97FEB

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

Color values

HEX#A97FEB
RGBrgb(169, 127, 235)
HSLhsl(263, 73%, 71%)
HSVhsv(263, 46%, 92%)
CMYKcmyk(28.1%, 46%, 0%, 7.8%)
CIE-LABlab(61.32, 38.10, -48.84)
CIE-LCHlch(61.32, 61.94, 307.96°)
OKLaboklab(68.21% 0.0797 -0.137)
OKLCHoklch(68.21% 0.159 300.2)
XYZxyz(38.9435, 29.6117, 82.2451)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FEB #C1EB7F
analogous
#7F8BEB #A97FEB #DF7FEB
triadic
#A97FEB #EBA97F #7FEBA9
tetradic
#A97FEB #EB7F8B #C1EB7F #7FEBDF
square
#A97FEB #EB7F8B #C1EB7F #7FEBDF
split-complementary
#A97FEB #EBDF7F #8BEB7F
monochromatic
#6420CF #854AE3 #A97FEB #CDB4F3 #EDE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A97FEB#FFFFFF#000000##000000
##A97FEB1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#9C92AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97feb;
/* rgb */ color: rgb(169, 127, 235);
/* oklch */ color: oklch(68.2% 0.159 300.2);
Tailwind
colors: {
  custom: {
    50: '#c5a5f2',
    500: '#a97feb',
    950: '#000000',
  },
}
SCSS
$custom: #a97feb;
$custom-light: #c5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97feb",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 263.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68206,
    "c": 0.1585,
    "h": 300.2
  },
  "luminance": 0.29612
}

Semantic roles & 50–950 ramp

primary
#A97FEB
secondary
#E6F1D5
accent
#D51089
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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