#A166AA#A166AA

#A166AA is a mid, moderate purple. Relative luminance 0.200; OKLCH L 59.9% C 0.120 H 322.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A166AA
RGBrgb(161, 102, 170)
HSLhsl(292, 29%, 53%)
HSVhsv(292, 40%, 67%)
CMYKcmyk(5.3%, 40%, 0%, 33.3%)
CIE-LABlab(51.82, 35.16, -26.87)
CIE-LCHlch(51.82, 44.25, 322.61°)
OKLaboklab(59.89% 0.0946 -0.0736)
OKLCHoklch(59.89% 0.12 322.1)
XYZxyz(26.7042, 19.9830, 40.4729)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166AA #6FAA66
analogous
#7F66AA #A166AA #AA6691
triadic
#A166AA #AAA166 #66AAA1
tetradic
#A166AA #AA7F66 #6FAA66 #6691AA
square
#A166AA #AA7F66 #6FAA66 #6691AA
split-complementary
#A166AA #91AA66 #66AA7F
monochromatic
#5B3560 #804B88 #A166AA #B98DC0 #D1B5D6

Accessibility & contrast

On white

4.20
#A166AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A166AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166AA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166AA#FFFFFF#000000##000000
##A166AA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AC
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#A36E80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a166aa;
/* rgb */ color: rgb(161, 102, 170);
/* oklch */ color: oklch(59.9% 0.120 322.1);
Tailwind
colors: {
  custom: {
    50: '#be93c3',
    500: '#a166aa',
    950: '#000000',
  },
}
SCSS
$custom: #a166aa;
$custom-light: #be93c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a166aa",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 292.059,
    "s": 28.571,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.11989,
    "h": 322.1
  },
  "luminance": 0.19982
}

Semantic roles & 50–950 ramp

primary
#A166AA
secondary
#ABC5A7
accent
#C56370
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A166AA

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

Preview Lab → · Contrast checker → · Palette generator →

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