#A96DFB#A96DFB

#A96DFB is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.3% C 0.205 H 300.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A96DFB
RGBrgb(169, 109, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 57%, 98%)
CMYKcmyk(32.7%, 56.6%, 0%, 1.6%)
CIE-LABlab(58.36, 51.81, -62.42)
CIE-LCHlch(58.36, 81.11, 309.69°)
OKLaboklab(66.29% 0.1036 -0.1767)
OKLCHoklch(66.29% 0.205 300.4)
XYZxyz(39.2393, 26.3371, 94.2644)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96DFB #BFFB6D
analogous
#6D78FB #A96DFB #F06DFB
triadic
#A96DFB #FBA96D #6DFBA9
tetradic
#A96DFB #FB6D78 #BFFB6D #6DFBF0
square
#A96DFB #FB6D78 #BFFB6D #6DFBF0
split-complementary
#A96DFB #FBF06D #78FB6D
monochromatic
#6506E7 #8631F9 #A96DFB #CCA9FD #EDE1FE

Accessibility & contrast

On white

3.35
#A96DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A96DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96DFB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96DFB#FFFFFF#000000##000000
##A96DFB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#448BF8
Tritanopia (blue-blind)
#988AAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a96dfb;
/* rgb */ color: rgb(169, 109, 251);
/* oklch */ color: oklch(66.3% 0.205 300.4);
Tailwind
colors: {
  custom: {
    50: '#c799fd',
    500: '#a96dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a96dfb;
$custom-light: #c799fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a96dfb",
  "rgb": {
    "r": 169,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 265.352,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.20487,
    "h": 300.4
  },
  "luminance": 0.26337
}

Semantic roles & 50–950 ramp

primary
#A96DFB
secondary
#E5F5CF
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A96DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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