#A166DC#A166DC

#A166DC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.177 H 304.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A166DC
RGBrgb(161, 102, 220)
HSLhsl(270, 63%, 63%)
HSVhsv(270, 54%, 86%)
CMYKcmyk(26.8%, 53.6%, 0%, 13.7%)
CIE-LABlab(54.29, 46.18, -51.66)
CIE-LCHlch(54.29, 69.30, 311.80°)
OKLaboklab(62.53% 0.1015 -0.1454)
OKLCHoklch(62.53% 0.177 304.9)
XYZxyz(32.3648, 22.2473, 70.2854)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166DC #A1DC66
analogous
#6666DC #A166DC #DC66DC
triadic
#A166DC #DCA166 #66DCA1
tetradic
#A166DC #DC6666 #A1DC66 #66DCDC
square
#A166DC #DC6666 #A1DC66 #66DCDC
split-complementary
#A166DC #DCDC66 #66DC66
monochromatic
#6425A2 #8234D1 #A166DC #C098E7 #DECAF3

Accessibility & contrast

On white

3.85
#A166DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A166DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166DC#FFFFFF#000000##000000
##A166DC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#977C97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a166dc;
/* rgb */ color: rgb(161, 102, 220);
/* oklch */ color: oklch(62.5% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#c093e7',
    500: '#a166dc',
    950: '#000000',
  },
}
SCSS
$custom: #a166dc;
$custom-light: #c093e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a166dc",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.17731,
    "h": 304.9
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#A166DC
secondary
#CFE4BA
accent
#CB1B73
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166DC

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

Preview Lab → · Contrast checker → · Palette generator →

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