#A97BF2#A97BF2

#A97BF2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.173 H 299.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A97BF2
RGBrgb(169, 123, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(30.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.79, 42.03, -53.55)
CIE-LCHlch(60.79, 68.07, 308.13°)
OKLaboklab(67.93% 0.0857 -0.1508)
OKLCHoklch(67.93% 0.173 299.6)
XYZxyz(39.4684, 29.0115, 87.5076)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97BF2 #C4F27B
analogous
#7B89F2 #A97BF2 #E47BF2
triadic
#A97BF2 #F2A97B #7BF2A9
tetradic
#A97BF2 #F27B89 #C4F27B #7BF2E4
square
#A97BF2 #F27B89 #C4F27B #7BF2E4
split-complementary
#A97BF2 #F2E47B #89F27B
monochromatic
#6316DD #8543ED #A97BF2 #CDB3F7 #EDE3FC

Accessibility & contrast

On white

3.09
#A97BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A97BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97BF2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97BF2#FFFFFF#000000##000000
##A97BF21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#9A91AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a97bf2;
/* rgb */ color: rgb(169, 123, 242);
/* oklch */ color: oklch(67.9% 0.173 299.6);
Tailwind
colors: {
  custom: {
    50: '#c6a2f7',
    500: '#a97bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a97bf2;
$custom-light: #c6a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a97bf2",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 263.193,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6793,
    "c": 0.17343,
    "h": 299.6
  },
  "luminance": 0.29012
}

Semantic roles & 50–950 ramp

primary
#A97BF2
secondary
#E8F4D5
accent
#DE078B
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A97BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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