#A96FEC#A96FEC

#A96FEC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.184 H 303.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A96FEC
RGBrgb(169, 111, 236)
HSLhsl(268, 77%, 68%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28.4%, 53%, 0%, 7.5%)
CIE-LABlab(57.90, 47.13, -54.82)
CIE-LCHlch(57.90, 72.29, 310.69°)
OKLaboklab(65.68% 0.1007 -0.1544)
OKLCHoklch(65.68% 0.184 303.1)
XYZxyz(37.1836, 25.8601, 82.3732)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96FEC #B2EC6F
analogous
#6F73EC #A96FEC #E76FEC
triadic
#A96FEC #ECA96F #6FECA9
tetradic
#A96FEC #EC6F73 #B2EC6F #6FECE7
square
#A96FEC #EC6F73 #B2EC6F #6FECE7
split-complementary
#A96FEC #ECE76F #73EC6F
monochromatic
#6A1AC6 #8939E5 #A96FEC #C9A5F3 #EADBFA

Accessibility & contrast

On white

3.40
#A96FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A96FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96FEC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96FEC#FFFFFF#000000##000000
##A96FEC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#9D87A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a96fec;
/* rgb */ color: rgb(169, 111, 236);
/* oklch */ color: oklch(65.7% 0.184 303.1);
Tailwind
colors: {
  custom: {
    50: '#c69af3',
    500: '#a96fec',
    950: '#000000',
  },
}
SCSS
$custom: #a96fec;
$custom-light: #c69af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a96fec",
  "rgb": {
    "r": 169,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 267.84,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65682,
    "c": 0.18438,
    "h": 303.1
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#A96FEC
secondary
#DDEFC8
accent
#D90D7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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