#A96DF2#A96DF2

#A96DF2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.194 H 302.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A96DF2
RGBrgb(169, 109, 242)
HSLhsl(267, 84%, 69%)
HSVhsv(267, 55%, 95%)
CMYKcmyk(30.2%, 55%, 0%, 5.1%)
CIE-LABlab(57.83, 49.64, -58.27)
CIE-LCHlch(57.83, 76.55, 310.42°)
OKLaboklab(65.74% 0.1035 -0.1646)
OKLCHoklch(65.74% 0.194 302.2)
XYZxyz(37.8542, 25.7830, 86.9695)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96DF2 #B6F26D
analogous
#6D74F2 #A96DF2 #EC6DF2
triadic
#A96DF2 #F2A96D #6DF2A9
tetradic
#A96DF2 #F26D74 #B6F26D #6DF2EC
square
#A96DF2 #F26D74 #B6F26D #6DF2EC
split-complementary
#A96DF2 #F2EC6D #74F26D
monochromatic
#6913D2 #8835ED #A96DF2 #CAA5F7 #EBDDFC

Accessibility & contrast

On white

3.41
#A96DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A96DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96DF2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96DF2#FFFFFF#000000##000000
##A96DF21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9B87A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a96df2;
/* rgb */ color: rgb(169, 109, 242);
/* oklch */ color: oklch(65.7% 0.194 302.2);
Tailwind
colors: {
  custom: {
    50: '#c699f7',
    500: '#a96df2',
    950: '#000000',
  },
}
SCSS
$custom: #a96df2;
$custom-light: #c699f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a96df2",
  "rgb": {
    "r": 169,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 267.068,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.19439,
    "h": 302.2
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#A96DF2
secondary
#DFF1CA
accent
#E0057D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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