#A166CE#A166CE

#A166CE is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.161 H 308.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A166CE
RGBrgb(161, 102, 206)
HSLhsl(274, 51%, 60%)
HSVhsv(274, 50%, 81%)
CMYKcmyk(21.8%, 50.5%, 0%, 19.2%)
CIE-LABlab(53.53, 42.94, -44.93)
CIE-LCHlch(53.53, 62.14, 313.70°)
OKLaboklab(61.72% 0.1004 -0.1257)
OKLCHoklch(61.72% 0.161 308.6)
XYZxyz(30.5877, 21.5365, 60.9261)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CE #93CE66
analogous
#6D66CE #A166CE #CE66C7
triadic
#A166CE #CEA166 #66CEA1
tetradic
#A166CE #CE6D66 #93CE66 #66C7CE
square
#A166CE #CE6D66 #93CE66 #66C7CE
split-complementary
#A166CE #C7CE66 #66CE6D
monochromatic
#632D8D #843CBB #A166CE #BD94DD #DAC3EC

Accessibility & contrast

On white

3.96
#A166CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A166CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CE#FFFFFF#000000##000000
##A166CE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD2
Deuteranopia (green-blind)
#5B81CB
Tritanopia (blue-blind)
#9B7891
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a166ce;
/* rgb */ color: rgb(161, 102, 206);
/* oklch */ color: oklch(61.7% 0.161 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf93dd',
    500: '#a166ce',
    950: '#000000',
  },
}
SCSS
$custom: #a166ce;
$custom-light: #bf93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ce",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 274.038,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.1609,
    "h": 308.6
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#A166CE
secondary
#C5DCB4
accent
#BF2769
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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