#A166CC#A166CC

#A166CC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.159 H 309.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A166CC
RGBrgb(161, 102, 204)
HSLhsl(275, 50%, 60%)
HSVhsv(275, 50%, 80%)
CMYKcmyk(21.1%, 50%, 0%, 20%)
CIE-LABlab(53.43, 42.48, -43.95)
CIE-LCHlch(53.43, 61.12, 314.03°)
OKLaboklab(61.61% 0.1002 -0.1229)
OKLCHoklch(61.61% 0.159 309.2)
XYZxyz(30.3463, 21.4399, 59.6547)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CC #91CC66
analogous
#6E66CC #A166CC #CC66C4
triadic
#A166CC #CCA166 #66CCA1
tetradic
#A166CC #CC6E66 #91CC66 #66C4CC
square
#A166CC #CC6E66 #91CC66 #66C4CC
split-complementary
#A166CC #C4CC66 #66CC6E
monochromatic
#632E8A #843DB8 #A166CC #BD94DB #D9C2EB

Accessibility & contrast

On white

3.97
#A166CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A166CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CC#FFFFFF#000000##000000
##A166CC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#5C81C9
Tritanopia (blue-blind)
#9B7790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a166cc;
/* rgb */ color: rgb(161, 102, 204);
/* oklch */ color: oklch(61.6% 0.159 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf93dc',
    500: '#a166cc',
    950: '#000000',
  },
}
SCSS
$custom: #a166cc;
$custom-light: #bf93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a166cc",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 274.706,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.15857,
    "h": 309.2
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#A166CC
secondary
#C4DBB3
accent
#DA4E89
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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