#A97FEF#A97FEF

#A97FEF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.164 H 299.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A97FEF
RGBrgb(169, 127, 239)
HSLhsl(263, 78%, 72%)
HSVhsv(263, 47%, 94%)
CMYKcmyk(29.3%, 46.9%, 0%, 6.3%)
CIE-LABlab(61.52, 39.07, -50.73)
CIE-LCHlch(61.52, 64.03, 307.60°)
OKLaboklab(68.42% 0.0802 -0.1425)
OKLCHoklch(68.42% 0.164 299.4)
XYZxyz(39.5279, 29.8455, 85.3229)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FEF #C5EF7F
analogous
#7F8DEF #A97FEF #E17FEF
triadic
#A97FEF #EFA97F #7FEFA9
tetradic
#A97FEF #EF7F8D #C5EF7F #7FEFE1
square
#A97FEF #EF7F8D #C5EF7F #7FEFE1
split-complementary
#A97FEF #EFE17F #8DEF7F
monochromatic
#621BD9 #8449E8 #A97FEF #CEB5F6 #EDE4FC

Accessibility & contrast

On white

3.01
#A97FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A97FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FEF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FEF#FFFFFF#000000##000000
##A97FEF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#9B93AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a97fef;
/* rgb */ color: rgb(169, 127, 239);
/* oklch */ color: oklch(68.4% 0.164 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a5f5',
    500: '#a97fef',
    950: '#000000',
  },
}
SCSS
$custom: #a97fef;
$custom-light: #c5a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fef",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 262.5,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.16355,
    "h": 299.4
  },
  "luminance": 0.29846
}

Semantic roles & 50–950 ramp

primary
#A97FEF
secondary
#E8F3D7
accent
#DA0B8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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