#A166DB#A166DB

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

Color values

HEX#A166DB
RGBrgb(161, 102, 219)
HSLhsl(270, 62%, 63%)
HSVhsv(270, 53%, 86%)
CMYKcmyk(26.5%, 53.4%, 0%, 14.1%)
CIE-LABlab(54.23, 45.95, -51.19)
CIE-LCHlch(54.23, 68.78, 311.91°)
OKLaboklab(62.47% 0.1014 -0.144)
OKLCHoklch(62.47% 0.176 305.1)
XYZxyz(32.2328, 22.1945, 69.5900)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166DB #A0DB66
analogous
#6666DB #A166DB #DB66DB
triadic
#A166DB #DBA166 #66DBA1
tetradic
#A166DB #DB6666 #A0DB66 #66DBDB
square
#A166DB #DB6666 #A0DB66 #66DBDB
split-complementary
#A166DB #DBDB66 #66DB66
monochromatic
#6426A1 #8334CF #A166DB #BF98E7 #DEC9F2

Accessibility & contrast

On white

3.86
#A166DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#A166DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166DB#FFFFFF#000000##000000
##A166DB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#977C97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a166db;
/* rgb */ color: rgb(161, 102, 219);
/* oklch */ color: oklch(62.5% 0.176 305.1);
Tailwind
colors: {
  custom: {
    50: '#c093e7',
    500: '#a166db',
    950: '#000000',
  },
}
SCSS
$custom: #a166db;
$custom-light: #c093e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a166db",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 270.256,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.17614,
    "h": 305.1
  },
  "luminance": 0.22194
}

Semantic roles & 50–950 ramp

primary
#A166DB
secondary
#CEE3B9
accent
#CA1C72
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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