#A166ED#A166ED

#A166ED is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.197 H 301.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A166ED
RGBrgb(161, 102, 237)
HSLhsl(266, 79%, 66%)
HSVhsv(266, 57%, 93%)
CMYKcmyk(32.1%, 57%, 0%, 7.1%)
CIE-LABlab(55.27, 50.26, -59.63)
CIE-LCHlch(55.27, 77.99, 310.12°)
OKLaboklab(63.57% 0.1019 -0.1688)
OKLCHoklch(63.57% 0.197 301.1)
XYZxyz(34.7318, 23.1941, 82.7515)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166ED #B2ED66
analogous
#666FED #A166ED #E466ED
triadic
#A166ED #EDA166 #66EDA1
tetradic
#A166ED #ED666F #B2ED66 #66EDE4
square
#A166ED #ED666F #B2ED66 #66EDE4
split-complementary
#A166ED #EDE466 #6FED66
monochromatic
#6217C2 #7F2FE7 #A166ED #C39DF3 #E4D4FA

Accessibility & contrast

On white

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

On black

5.64
#A166ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166ED
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166ED#FFFFFF#000000##000000
##A166ED1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F1
Deuteranopia (green-blind)
#4184EA
Tritanopia (blue-blind)
#9281A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a166ed;
/* rgb */ color: rgb(161, 102, 237);
/* oklch */ color: oklch(63.6% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#c194f3',
    500: '#a166ed',
    950: '#000000',
  },
}
SCSS
$custom: #a166ed;
$custom-light: #c194f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ed",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 266.222,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.19717,
    "h": 301.1
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#A166ED
secondary
#DAEDC2
accent
#DB0A80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166ED

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

Preview Lab → · Contrast checker → · Palette generator →

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