#A166C0#A166C0

#A166C0 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.145 H 313.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A166C0
RGBrgb(161, 102, 192)
HSLhsl(279, 42%, 58%)
HSVhsv(279, 47%, 75%)
CMYKcmyk(16.1%, 46.9%, 0%, 24.7%)
CIE-LABlab(52.82, 39.80, -38.03)
CIE-LCHlch(52.82, 55.05, 316.30°)
OKLaboklab(60.97% 0.0987 -0.1057)
OKLCHoklch(60.97% 0.145 313)
XYZxyz(28.9621, 20.8862, 52.3647)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166C0 #85C066
analogous
#7466C0 #A166C0 #C066B2
triadic
#A166C0 #C0A166 #66C0A1
tetradic
#A166C0 #C07466 #85C066 #66B2C0
square
#A166C0 #C07466 #85C066 #66B2C0
split-complementary
#A166C0 #B2C066 #66C074
monochromatic
#61327A #8344A5 #A166C0 #BC91D2 #D6BDE4

Accessibility & contrast

On white

4.06
#A166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A166C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166C0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166C0#FFFFFF#000000##000000
##A166C01.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#9E748A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a166c0;
/* rgb */ color: rgb(161, 102, 192);
/* oklch */ color: oklch(61.0% 0.145 313.0);
Tailwind
colors: {
  custom: {
    50: '#be93d3',
    500: '#a166c0',
    950: '#000000',
  },
}
SCSS
$custom: #a166c0;
$custom-light: #be93d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a166c0",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 279.333,
    "s": 41.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.14461,
    "h": 313
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#A166C0
secondary
#BBD3AF
accent
#D15681
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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