#A166BB#A166BB

#A166BB is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.7% C 0.139 H 314.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A166BB
RGBrgb(161, 102, 187)
HSLhsl(282, 38%, 57%)
HSVhsv(282, 45%, 73%)
CMYKcmyk(13.9%, 45.5%, 0%, 26.7%)
CIE-LABlab(52.58, 38.71, -35.53)
CIE-LCHlch(52.58, 52.55, 317.46°)
OKLaboklab(60.71% 0.0979 -0.0985)
OKLCHoklch(60.71% 0.139 314.8)
XYZxyz(28.4175, 20.6684, 49.4965)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166BB #80BB66
analogous
#7766BB #A166BB #BB66AB
triadic
#A166BB #BBA166 #66BBA1
tetradic
#A166BB #BB7766 #80BB66 #66ABBB
square
#A166BB #BB7766 #80BB66 #66ABBB
split-complementary
#A166BB #ABBB66 #66BB77
monochromatic
#603373 #83469E #A166BB #BB90CE #D5BBE1

Accessibility & contrast

On white

4.09
#A166BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A166BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166BB#FFFFFF#000000##000000
##A166BB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#9F7288
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a166bb;
/* rgb */ color: rgb(161, 102, 187);
/* oklch */ color: oklch(60.7% 0.139 314.8);
Tailwind
colors: {
  custom: {
    50: '#be93d0',
    500: '#a166bb',
    950: '#000000',
  },
}
SCSS
$custom: #a166bb;
$custom-light: #be93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a166bb",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 281.647,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.13886,
    "h": 314.8
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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