#A97BEC#A97BEC

#A97BEC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.166 H 300.8°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A97BEC
RGBrgb(169, 123, 236)
HSLhsl(264, 75%, 70%)
HSVhsv(264, 48%, 93%)
CMYKcmyk(28.4%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.48, 40.57, -50.72)
CIE-LCHlch(60.48, 64.95, 308.65°)
OKLaboklab(67.59% 0.0851 -0.1425)
OKLCHoklch(67.59% 0.166 300.8)
XYZxyz(38.5820, 28.6569, 82.8393)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BEC #BEEC7B
analogous
#7B85EC #A97BEC #E17BEC
triadic
#A97BEC #ECA97B #7BECA9
tetradic
#A97BEC #EC7B85 #BEEC7B #7BECE1
square
#A97BEC #EC7B85 #BEEC7B #7BECE1
split-complementary
#A97BEC #ECE17B #85EC7B
monochromatic
#661ECF #8646E4 #A97BEC #CCB0F4 #EEE4FB

Accessibility & contrast

On white

3.12
#A97BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A97BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BEC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BEC#FFFFFF#000000##000000
##A97BEC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#9C90A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97bec;
/* rgb */ color: rgb(169, 123, 236);
/* oklch */ color: oklch(67.6% 0.166 300.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2f2',
    500: '#a97bec',
    950: '#000000',
  },
}
SCSS
$custom: #a97bec;
$custom-light: #c5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bec",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 264.425,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.166,
    "h": 300.8
  },
  "luminance": 0.28657
}

Semantic roles & 50–950 ramp

primary
#A97BEC
secondary
#E4F1D2
accent
#D70F85
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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