#A166DA#A166DA

#A166DA is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.4% C 0.175 H 305.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A166DA
RGBrgb(161, 102, 218)
HSLhsl(271, 61%, 63%)
HSVhsv(271, 53%, 85%)
CMYKcmyk(26.1%, 53.2%, 0%, 14.5%)
CIE-LABlab(54.18, 45.71, -50.71)
CIE-LCHlch(54.18, 68.27, 312.04°)
OKLaboklab(62.41% 0.1013 -0.1426)
OKLCHoklch(62.41% 0.175 305.4)
XYZxyz(32.1015, 22.1420, 68.8987)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166DA #9FDA66
analogous
#6766DA #A166DA #DA66D9
triadic
#A166DA #DAA166 #66DAA1
tetradic
#A166DA #DA6766 #9FDA66 #66D9DA
square
#A166DA #DA6766 #9FDA66 #66D9DA
split-complementary
#A166DA #D9DA66 #66DA67
monochromatic
#64269F #8335CE #A166DA #BF97E6 #DEC9F2

Accessibility & contrast

On white

3.87
#A166DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A166DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166DA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166DA#FFFFFF#000000##000000
##A166DA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#987B96
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a166da;
/* rgb */ color: rgb(161, 102, 218);
/* oklch */ color: oklch(62.4% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#c093e6',
    500: '#a166da',
    950: '#000000',
  },
}
SCSS
$custom: #a166da;
$custom-light: #c093e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a166da",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 270.517,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.17497,
    "h": 305.4
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#A166DA
secondary
#CEE3B9
accent
#C91D71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A166DA

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

Preview Lab → · Contrast checker → · Palette generator →

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