#A97BEF#A97BEF

#A97BEF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.170 H 300.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A97BEF
RGBrgb(169, 123, 239)
HSLhsl(264, 78%, 71%)
HSVhsv(264, 49%, 94%)
CMYKcmyk(29.3%, 48.5%, 0%, 6.3%)
CIE-LABlab(60.63, 41.30, -52.14)
CIE-LCHlch(60.63, 66.51, 308.38°)
OKLaboklab(67.76% 0.0854 -0.1466)
OKLCHoklch(67.76% 0.17 300.2)
XYZxyz(39.0215, 28.8327, 85.1541)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BEF #C1EF7B
analogous
#7B87EF #A97BEF #E37BEF
triadic
#A97BEF #EFA97B #7BEFA9
tetradic
#A97BEF #EF7B87 #C1EF7B #7BEFE3
square
#A97BEF #EF7B87 #C1EF7B #7BEFE3
split-complementary
#A97BEF #EFE37B #87EF7B
monochromatic
#641AD6 #8544E8 #A97BEF #CDB2F6 #EDE4FC

Accessibility & contrast

On white

3.10
#A97BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A97BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BEF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BEF#FFFFFF#000000##000000
##A97BEF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#9B90AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97bef;
/* rgb */ color: rgb(169, 123, 239);
/* oklch */ color: oklch(67.8% 0.170 300.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2f5',
    500: '#a97bef',
    950: '#000000',
  },
}
SCSS
$custom: #a97bef;
$custom-light: #c5a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bef",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 263.793,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.16972,
    "h": 300.2
  },
  "luminance": 0.28833
}

Semantic roles & 50–950 ramp

primary
#A97BEF
secondary
#E6F2D3
accent
#DB0B88
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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