#A166D6#A166D6

#A166D6 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.2% C 0.170 H 306.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A166D6
RGBrgb(161, 102, 214)
HSLhsl(272, 58%, 62%)
HSVhsv(272, 52%, 84%)
CMYKcmyk(24.8%, 52.3%, 0%, 16.1%)
CIE-LABlab(53.96, 44.78, -48.79)
CIE-LCHlch(53.96, 66.23, 312.54°)
OKLaboklab(62.18% 0.1011 -0.137)
OKLCHoklch(62.18% 0.17 306.4)
XYZxyz(31.5844, 21.9351, 66.1753)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166D6 #9BD666
analogous
#6966D6 #A166D6 #D666D3
triadic
#A166D6 #D6A166 #66D6A1
tetradic
#A166D6 #D66966 #9BD666 #66D3D6
square
#A166D6 #D66966 #9BD666 #66D3D6
split-complementary
#A166D6 #D3D666 #66D669
monochromatic
#642999 #8336C9 #A166D6 #BF96E3 #DCC7F0

Accessibility & contrast

On white

3.90
#A166D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A166D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166D6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166D6#FFFFFF#000000##000000
##A166D61.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FDA
Deuteranopia (green-blind)
#5681D3
Tritanopia (blue-blind)
#997A94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a166d6;
/* rgb */ color: rgb(161, 102, 214);
/* oklch */ color: oklch(62.2% 0.170 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf93e3',
    500: '#a166d6',
    950: '#000000',
  },
}
SCSS
$custom: #a166d6;
$custom-light: #bf93e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a166d6",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 271.607,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62179,
    "c": 0.17027,
    "h": 306.4
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

primary
#A166D6
secondary
#CBE1B7
accent
#C5206E
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166D6

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

Preview Lab → · Contrast checker → · Palette generator →

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