#A16CEB#A16CEB

#A16CEB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.186 H 300.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A16CEB
RGBrgb(161, 108, 235)
HSLhsl(265, 76%, 67%)
HSVhsv(265, 54%, 92%)
CMYKcmyk(31.5%, 54%, 0%, 7.8%)
CIE-LABlab(56.39, 46.55, -56.73)
CIE-LCHlch(56.39, 73.38, 309.37°)
OKLaboklab(64.35% 0.0945 -0.1603)
OKLCHoklch(64.35% 0.186 300.5)
XYZxyz(35.0524, 24.3002, 81.4249)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A16CEB #B6EB6C
analogous
#6C77EB #A16CEB #E06CEB
triadic
#A16CEB #EBA16C #6CEBA1
tetradic
#A16CEB #EB6C77 #B6EB6C #6CEBE0
square
#A16CEB #EB6C77 #B6EB6C #6CEBE0
split-complementary
#A16CEB #EBE06C #77EB6C
monochromatic
#601AC2 #7F36E4 #A16CEB #C3A2F2 #E6D8FA

Accessibility & contrast

On white

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

On black

5.86
#A16CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A16CEB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A16CEB#FFFFFF#000000##000000
##A16CEB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#9285A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a16ceb;
/* rgb */ color: rgb(161, 108, 235);
/* oklch */ color: oklch(64.4% 0.186 300.5);
Tailwind
colors: {
  custom: {
    50: '#c098f2',
    500: '#a16ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a16ceb;
$custom-light: #c098f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a16ceb",
  "rgb": {
    "r": 161,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 265.039,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.18607,
    "h": 300.5
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#A16CEB
secondary
#DDEDC5
accent
#D80D84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A16CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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