#A166C8#A166C8

#A166C8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.154 H 310.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A166C8
RGBrgb(161, 102, 200)
HSLhsl(276, 47%, 59%)
HSVhsv(276, 49%, 78%)
CMYKcmyk(19.5%, 49%, 0%, 21.6%)
CIE-LABlab(53.22, 41.58, -41.99)
CIE-LCHlch(53.22, 59.09, 314.72°)
OKLaboklab(61.4% 0.0997 -0.1172)
OKLCHoklch(61.4% 0.154 310.4)
XYZxyz(29.8727, 21.2505, 57.1605)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166C8 #8DC866
analogous
#7066C8 #A166C8 #C866BE
triadic
#A166C8 #C8A166 #66C8A1
tetradic
#A166C8 #C87066 #8DC866 #66BEC8
square
#A166C8 #C87066 #8DC866 #66BEC8
split-complementary
#A166C8 #BEC866 #66C870
monochromatic
#622F84 #8440B1 #A166C8 #BD93D8 #D8C0E8

Accessibility & contrast

On white

4.00
#A166C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A166C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166C8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166C8#FFFFFF#000000##000000
##A166C81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#9C768E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a166c8;
/* rgb */ color: rgb(161, 102, 200);
/* oklch */ color: oklch(61.4% 0.154 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf93d9',
    500: '#a166c8',
    950: '#000000',
  },
}
SCSS
$custom: #a166c8;
$custom-light: #bf93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a166c8",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 276.122,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.1539,
    "h": 310.4
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#A166C8
secondary
#C1D8B2
accent
#D75186
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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