#A166BE#A166BE

#A166BE is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.9% C 0.142 H 313.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A166BE
RGBrgb(161, 102, 190)
HSLhsl(280, 40%, 57%)
HSVhsv(280, 46%, 75%)
CMYKcmyk(15.3%, 46.3%, 0%, 25.5%)
CIE-LABlab(52.73, 39.37, -37.03)
CIE-LCHlch(52.73, 54.05, 316.75°)
OKLaboklab(60.87% 0.0984 -0.1028)
OKLCHoklch(60.87% 0.142 313.7)
XYZxyz(28.7421, 20.7982, 51.2056)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166BE #83BE66
analogous
#7566BE #A166BE #BE66AF
triadic
#A166BE #BEA166 #66BEA1
tetradic
#A166BE #BE7566 #83BE66 #66AFBE
square
#A166BE #BE7566 #83BE66 #66AFBE
split-complementary
#A166BE #AFBE66 #66BE75
monochromatic
#603377 #8345A2 #A166BE #BB91D0 #D6BCE2

Accessibility & contrast

On white

4.07
#A166BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A166BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166BE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166BE#FFFFFF#000000##000000
##A166BE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC1
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#9F7389
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a166be;
/* rgb */ color: rgb(161, 102, 190);
/* oklch */ color: oklch(60.9% 0.142 313.7);
Tailwind
colors: {
  custom: {
    50: '#be93d2',
    500: '#a166be',
    950: '#000000',
  },
}
SCSS
$custom: #a166be;
$custom-light: #be93d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a166be",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 280.227,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.14231,
    "h": 313.7
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#A166BE
secondary
#BAD2AE
accent
#D0587F
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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