#A166CF#A166CF

#A166CF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.162 H 308.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A166CF
RGBrgb(161, 102, 207)
HSLhsl(274, 52%, 61%)
HSVhsv(274, 51%, 81%)
CMYKcmyk(22.2%, 50.7%, 0%, 18.8%)
CIE-LABlab(53.58, 43.16, -45.41)
CIE-LCHlch(53.58, 62.65, 313.55°)
OKLaboklab(61.78% 0.1005 -0.1272)
OKLCHoklch(61.78% 0.162 308.3)
XYZxyz(30.7096, 21.5852, 61.5680)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CF #94CF66
analogous
#6C66CF #A166CF #CF66C9
triadic
#A166CF #CFA166 #66CFA1
tetradic
#A166CF #CF6C66 #94CF66 #66C9CF
square
#A166CF #CF6C66 #94CF66 #66C9CF
split-complementary
#A166CF #C9CF66 #66CF6C
monochromatic
#632D8E #843BBD #A166CF #BE95DE #DAC3EC

Accessibility & contrast

On white

3.95
#A166CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A166CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CF#FFFFFF#000000##000000
##A166CF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#9B7891
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a166cf;
/* rgb */ color: rgb(161, 102, 207);
/* oklch */ color: oklch(61.8% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#bf93de',
    500: '#a166cf',
    950: '#000000',
  },
}
SCSS
$custom: #a166cf;
$custom-light: #bf93de;
$custom-dark: #000000;
JSON
{
  "hex": "#a166cf",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 273.714,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.16208,
    "h": 308.3
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#A166CF
secondary
#C6DCB4
accent
#C02669
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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