#A166E2#A166E2

#A166E2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.184 H 303.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A166E2
RGBrgb(161, 102, 226)
HSLhsl(269, 68%, 64%)
HSVhsv(269, 55%, 89%)
CMYKcmyk(28.8%, 54.9%, 0%, 11.4%)
CIE-LABlab(54.63, 47.61, -54.50)
CIE-LCHlch(54.63, 72.37, 311.14°)
OKLaboklab(62.89% 0.1017 -0.1537)
OKLCHoklch(62.89% 0.184 303.5)
XYZxyz(33.1737, 22.5709, 74.5457)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E2 #A7E266
analogous
#6669E2 #A166E2 #DF66E2
triadic
#A166E2 #E2A166 #66E2A1
tetradic
#A166E2 #E26669 #A7E266 #66E2DF
square
#A166E2 #E26669 #A7E266 #66E2DF
split-complementary
#A166E2 #E2DF66 #69E266
monochromatic
#6321AD #8133D8 #A166E2 #C199EC #E0CDF6

Accessibility & contrast

On white

3.81
#A166E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A166E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E2#FFFFFF#000000##000000
##A166E21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#957E9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a166e2;
/* rgb */ color: rgb(161, 102, 226);
/* oklch */ color: oklch(62.9% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#c094ec',
    500: '#a166e2',
    950: '#000000',
  },
}
SCSS
$custom: #a166e2;
$custom-light: #c094ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e2",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 268.548,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.18434,
    "h": 303.5
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#A166E2
secondary
#D3E7BC
accent
#D01577
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166E2

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

Preview Lab → · Contrast checker → · Palette generator →

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