#A97FEC#A97FEC

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

Color values

HEX#A97FEC
RGBrgb(169, 127, 236)
HSLhsl(263, 74%, 71%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(28.4%, 46.2%, 0%, 7.5%)
CIE-LABlab(61.37, 38.34, -49.31)
CIE-LCHlch(61.37, 62.46, 307.87°)
OKLaboklab(68.26% 0.0798 -0.1384)
OKLCHoklch(68.26% 0.16 300)
XYZxyz(39.0884, 29.6697, 83.0081)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FEC #C2EC7F
analogous
#7F8BEC #A97FEC #DF7FEC
triadic
#A97FEC #ECA97F #7FECA9
tetradic
#A97FEC #EC7F8B #C2EC7F #7FECDF
square
#A97FEC #EC7F8B #C2EC7F #7FECDF
split-complementary
#A97FEC #ECDF7F #8BEC7F
monochromatic
#641FD2 #854AE4 #A97FEC #CDB4F4 #EDE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A97FEC#FFFFFF#000000##000000
##A97FEC1.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)
#5E94F0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#9C93AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a97fec;
/* rgb */ color: rgb(169, 127, 236);
/* oklch */ color: oklch(68.3% 0.160 300.0);
Tailwind
colors: {
  custom: {
    50: '#c5a5f2',
    500: '#a97fec',
    950: '#000000',
  },
}
SCSS
$custom: #a97fec;
$custom-light: #c5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fec",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 263.119,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6826,
    "c": 0.15976,
    "h": 300
  },
  "luminance": 0.2967
}

Semantic roles & 50–950 ramp

primary
#A97FEC
secondary
#E7F2D5
accent
#D60F8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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