#A166BF#A166BF

#A166BF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.143 H 313.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A166BF
RGBrgb(161, 102, 191)
HSLhsl(280, 41%, 57%)
HSVhsv(280, 47%, 75%)
CMYKcmyk(15.7%, 46.6%, 0%, 25.1%)
CIE-LABlab(52.78, 39.58, -37.53)
CIE-LCHlch(52.78, 54.55, 316.52°)
OKLaboklab(60.92% 0.0985 -0.1043)
OKLCHoklch(60.92% 0.143 313.4)
XYZxyz(28.8517, 20.8421, 51.7832)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166BF #84BF66
analogous
#7466BF #A166BF #BF66B1
triadic
#A166BF #BFA166 #66BFA1
tetradic
#A166BF #BF7466 #84BF66 #66B1BF
square
#A166BF #BF7466 #84BF66 #66B1BF
split-complementary
#A166BF #B1BF66 #66BF74
monochromatic
#613278 #8344A3 #A166BF #BC91D1 #D6BCE3

Accessibility & contrast

On white

4.06
#A166BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166BF#FFFFFF#000000##000000
##A166BF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#647FBD
Tritanopia (blue-blind)
#9E7389
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a166bf;
/* rgb */ color: rgb(161, 102, 191);
/* oklch */ color: oklch(60.9% 0.143 313.4);
Tailwind
colors: {
  custom: {
    50: '#be93d2',
    500: '#a166bf',
    950: '#000000',
  },
}
SCSS
$custom: #a166bf;
$custom-light: #be93d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a166bf",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 279.775,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.14346,
    "h": 313.4
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#A166BF
secondary
#BBD2AE
accent
#D15780
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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