#A166BC#A166BC

#A166BC is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.8% C 0.140 H 314.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A166BC
RGBrgb(161, 102, 188)
HSLhsl(281, 39%, 57%)
HSVhsv(281, 46%, 74%)
CMYKcmyk(14.4%, 45.7%, 0%, 26.3%)
CIE-LABlab(52.63, 38.93, -36.03)
CIE-LCHlch(52.63, 53.05, 317.21°)
OKLaboklab(60.76% 0.0981 -0.0999)
OKLCHoklch(60.76% 0.14 314.5)
XYZxyz(28.5250, 20.7114, 50.0623)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166BC #81BC66
analogous
#7666BC #A166BC #BC66AC
triadic
#A166BC #BCA166 #66BCA1
tetradic
#A166BC #BC7666 #81BC66 #66ACBC
square
#A166BC #BC7666 #81BC66 #66ACBC
split-complementary
#A166BC #ACBC66 #66BC76
monochromatic
#603375 #83469F #A166BC #BB91CF #D5BBE1

Accessibility & contrast

On white

4.08
#A166BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A166BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166BC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166BC#FFFFFF#000000##000000
##A166BC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#9F7388
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a166bc;
/* rgb */ color: rgb(161, 102, 188);
/* oklch */ color: oklch(60.8% 0.140 314.5);
Tailwind
colors: {
  custom: {
    50: '#be93d0',
    500: '#a166bc',
    950: '#000000',
  },
}
SCSS
$custom: #a166bc;
$custom-light: #be93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a166bc",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 281.163,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.14001,
    "h": 314.5
  },
  "luminance": 0.20711
}

Semantic roles & 50–950 ramp

primary
#A166BC
secondary
#B8D0AD
accent
#CF597E
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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