#A166EF#A166EF

#A166EF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.200 H 300.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A166EF
RGBrgb(161, 102, 239)
HSLhsl(266, 81%, 67%)
HSVhsv(266, 57%, 94%)
CMYKcmyk(32.6%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.39, 50.75, -60.56)
CIE-LCHlch(55.39, 79.01, 309.96°)
OKLaboklab(63.7% 0.1019 -0.1715)
OKLCHoklch(63.7% 0.2 300.7)
XYZxyz(35.0256, 23.3116, 84.2989)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166EF #B4EF66
analogous
#6670EF #A166EF #E566EF
triadic
#A166EF #EFA166 #66EFA1
tetradic
#A166EF #EF6670 #B4EF66 #66EFE5
square
#A166EF #EF6670 #B4EF66 #66EFE5
split-complementary
#A166EF #EFE566 #70EF66
monochromatic
#6115C6 #7F2FE9 #A166EF #C39DF5 #E5D5FB

Accessibility & contrast

On white

3.71
#A166EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A166EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166EF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166EF#FFFFFF#000000##000000
##A166EF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#9182A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a166ef;
/* rgb */ color: rgb(161, 102, 239);
/* oklch */ color: oklch(63.7% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#c194f5',
    500: '#a166ef',
    950: '#000000',
  },
}
SCSS
$custom: #a166ef;
$custom-light: #c194f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ef",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 265.839,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63697,
    "c": 0.1995,
    "h": 300.7
  },
  "luminance": 0.23312
}

Semantic roles & 50–950 ramp

primary
#A166EF
secondary
#DBEEC2
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166EF

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

Preview Lab → · Contrast checker → · Palette generator →

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