#A166DD#A166DD

#A166DD is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.178 H 304.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A166DD
RGBrgb(161, 102, 221)
HSLhsl(270, 64%, 63%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(27.1%, 53.8%, 0%, 13.3%)
CIE-LABlab(54.34, 46.42, -52.14)
CIE-LCHlch(54.34, 69.81, 311.68°)
OKLaboklab(62.59% 0.1015 -0.1468)
OKLCHoklch(62.59% 0.178 304.7)
XYZxyz(32.4976, 22.3004, 70.9850)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166DD #A2DD66
analogous
#6666DD #A166DD #DC66DD
triadic
#A166DD #DDA166 #66DDA1
tetradic
#A166DD #DD6666 #A2DD66 #66DDDC
square
#A166DD #DD6666 #A2DD66 #66DDDC
split-complementary
#A166DD #DDDC66 #66DD66
monochromatic
#6424A4 #8234D2 #A166DD #C098E8 #DFCAF3

Accessibility & contrast

On white

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

On black

5.46
#A166DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166DD#FFFFFF#000000##000000
##A166DD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#977C98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a166dd;
/* rgb */ color: rgb(161, 102, 221);
/* oklch */ color: oklch(62.6% 0.178 304.7);
Tailwind
colors: {
  custom: {
    50: '#c093e8',
    500: '#a166dd',
    950: '#000000',
  },
}
SCSS
$custom: #a166dd;
$custom-light: #c093e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a166dd",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 269.748,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6259,
    "c": 0.17848,
    "h": 304.7
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#A166DD
secondary
#D0E5BA
accent
#CB1A73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166DD

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

Preview Lab → · Contrast checker → · Palette generator →

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