#A16ECB#A16ECB

#A16ECB is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.9% C 0.144 H 308.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A16ECB
RGBrgb(161, 110, 203)
HSLhsl(273, 47%, 61%)
HSVhsv(273, 46%, 80%)
CMYKcmyk(20.7%, 45.8%, 0%, 20.4%)
CIE-LABlab(55.11, 37.83, -40.72)
CIE-LCHlch(55.11, 55.58, 312.90°)
OKLaboklab(62.86% 0.0889 -0.1135)
OKLCHoklch(62.86% 0.144 308.1)
XYZxyz(31.0513, 23.0411, 59.2999)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A16ECB #98CB6E
analogous
#736ECB #A16ECB #CB6EC7
triadic
#A16ECB #CBA16E #6ECBA1
tetradic
#A16ECB #CB736E #98CB6E #6EC7CB
square
#A16ECB #CB736E #98CB6E #6EC7CB
split-complementary
#A16ECB #C7CB6E #6ECB73
monochromatic
#64328C #8442B9 #A16ECB #BE9BDB #DBC8EB

Accessibility & contrast

On white

3.74
#A16ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A16ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A16ECB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A16ECB#FFFFFF#000000##000000
##A16ECB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#9B7D93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a16ecb;
/* rgb */ color: rgb(161, 110, 203);
/* oklch */ color: oklch(62.9% 0.144 308.1);
Tailwind
colors: {
  custom: {
    50: '#bf99db',
    500: '#a16ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a16ecb;
$custom-light: #bf99db;
$custom-dark: #000000;
JSON
{
  "hex": "#a16ecb",
  "rgb": {
    "r": 161,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 272.903,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.14422,
    "h": 308.1
  },
  "luminance": 0.23041
}

Semantic roles & 50–950 ramp

primary
#A16ECB
secondary
#C9DCB9
accent
#BA2B6C
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A16ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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