#A166E3#A166E3

#A166E3 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.186 H 303.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A166E3
RGBrgb(161, 102, 227)
HSLhsl(268, 69%, 65%)
HSVhsv(268, 55%, 89%)
CMYKcmyk(29.1%, 55.1%, 0%, 11%)
CIE-LABlab(54.68, 47.85, -54.97)
CIE-LCHlch(54.68, 72.88, 311.04°)
OKLaboklab(62.95% 0.1017 -0.1551)
OKLCHoklch(62.95% 0.186 303.3)
XYZxyz(33.3113, 22.6259, 75.2705)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E3 #A8E366
analogous
#666AE3 #A166E3 #E066E3
triadic
#A166E3 #E3A166 #66E3A1
tetradic
#A166E3 #E3666A #A8E366 #66E3E0
square
#A166E3 #E3666A #A8E366 #66E3E0
split-complementary
#A166E3 #E3E066 #6AE366
monochromatic
#6320AF #8132DA #A166E3 #C19AEC #E1CDF6

Accessibility & contrast

On white

3.80
#A166E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A166E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E3#FFFFFF#000000##000000
##A166E31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E7
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#957E9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a166e3;
/* rgb */ color: rgb(161, 102, 227);
/* oklch */ color: oklch(62.9% 0.186 303.3);
Tailwind
colors: {
  custom: {
    50: '#c094ec',
    500: '#a166e3',
    950: '#000000',
  },
}
SCSS
$custom: #a166e3;
$custom-light: #c094ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e3",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 268.32,
    "s": 69.061,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6295,
    "c": 0.18551,
    "h": 303.3
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#A166E3
secondary
#D4E8BD
accent
#D11478
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166E3

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

Preview Lab → · Contrast checker → · Palette generator →

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