#A166E4#A166E4

#A166E4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.187 H 303.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A166E4
RGBrgb(161, 102, 228)
HSLhsl(268, 70%, 65%)
HSVhsv(268, 55%, 89%)
CMYKcmyk(29.4%, 55.3%, 0%, 10.6%)
CIE-LABlab(54.74, 48.09, -55.44)
CIE-LCHlch(54.74, 73.39, 310.94°)
OKLaboklab(63.01% 0.1018 -0.1565)
OKLCHoklch(63.01% 0.187 303)
XYZxyz(33.4497, 22.6813, 75.9994)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E4 #A9E466
analogous
#666AE4 #A166E4 #E066E4
triadic
#A166E4 #E4A166 #66E4A1
tetradic
#A166E4 #E4666A #A9E466 #66E4E0
square
#A166E4 #E4666A #A9E466 #66E4E0
split-complementary
#A166E4 #E4E066 #6AE466
monochromatic
#631FB0 #8132DB #A166E4 #C19AED #E1CEF6

Accessibility & contrast

On white

3.79
#A166E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A166E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E4#FFFFFF#000000##000000
##A166E41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#4A83E1
Tritanopia (blue-blind)
#957E9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a166e4;
/* rgb */ color: rgb(161, 102, 228);
/* oklch */ color: oklch(63.0% 0.187 303.0);
Tailwind
colors: {
  custom: {
    50: '#c094ed',
    500: '#a166e4',
    950: '#000000',
  },
}
SCSS
$custom: #a166e4;
$custom-light: #c094ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e4",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 268.095,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.18668,
    "h": 303
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#A166E4
secondary
#D4E9BD
accent
#D21479
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166E4

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

Preview Lab → · Contrast checker → · Palette generator →

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