#A166EE#A166EE

#A166EE is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.198 H 300.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A166EE
RGBrgb(161, 102, 238)
HSLhsl(266, 80%, 67%)
HSVhsv(266, 57%, 93%)
CMYKcmyk(32.4%, 57.1%, 0%, 6.7%)
CIE-LABlab(55.33, 50.50, -60.10)
CIE-LCHlch(55.33, 78.50, 310.04°)
OKLaboklab(63.63% 0.1019 -0.1701)
OKLCHoklch(63.63% 0.198 300.9)
XYZxyz(34.8783, 23.2527, 83.5230)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166EE #B3EE66
analogous
#666FEE #A166EE #E566EE
triadic
#A166EE #EEA166 #66EEA1
tetradic
#A166EE #EE666F #B3EE66 #66EEE5
square
#A166EE #EE666F #B3EE66 #66EEE5
split-complementary
#A166EE #EEE566 #6FEE66
monochromatic
#6116C4 #7F2FE8 #A166EE #C39DF4 #E5D4FA

Accessibility & contrast

On white

3.72
#A166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166EE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166EE#FFFFFF#000000##000000
##A166EE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#9182A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a166ee;
/* rgb */ color: rgb(161, 102, 238);
/* oklch */ color: oklch(63.6% 0.198 300.9);
Tailwind
colors: {
  custom: {
    50: '#c194f4',
    500: '#a166ee',
    950: '#000000',
  },
}
SCSS
$custom: #a166ee;
$custom-light: #c194f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ee",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 266.029,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.19834,
    "h": 300.9
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#A166EE
secondary
#DBEEC2
accent
#DC0981
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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