#A16CEC#A16CEC

#A16CEC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.187 H 300.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A16CEC
RGBrgb(161, 108, 236)
HSLhsl(265, 77%, 67%)
HSVhsv(265, 54%, 93%)
CMYKcmyk(31.8%, 54.2%, 0%, 7.5%)
CIE-LABlab(56.44, 46.79, -57.20)
CIE-LCHlch(56.44, 73.90, 309.29°)
OKLaboklab(64.41% 0.0946 -0.1616)
OKLCHoklch(64.41% 0.187 300.3)
XYZxyz(35.1972, 24.3581, 82.1879)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A16CEC #B7EC6C
analogous
#6C77EC #A16CEC #E16CEC
triadic
#A16CEC #ECA16C #6CECA1
tetradic
#A16CEC #EC6C77 #B7EC6C #6CECE1
square
#A16CEC #EC6C77 #B7EC6C #6CECE1
split-complementary
#A16CEC #ECE16C #77EC6C
monochromatic
#6019C4 #7E36E5 #A16CEC #C4A2F3 #E6D8FA

Accessibility & contrast

On white

3.58
#A16CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A16CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A16CEC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A16CEC#FFFFFF#000000##000000
##A16CEC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#9285A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a16cec;
/* rgb */ color: rgb(161, 108, 236);
/* oklch */ color: oklch(64.4% 0.187 300.3);
Tailwind
colors: {
  custom: {
    50: '#c098f3',
    500: '#a16cec',
    950: '#000000',
  },
}
SCSS
$custom: #a16cec;
$custom-light: #c098f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a16cec",
  "rgb": {
    "r": 161,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 264.844,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64414,
    "c": 0.18726,
    "h": 300.3
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#A16CEC
secondary
#DDEEC6
accent
#D90C84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A16CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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