#A166E6#A166E6

#A166E6 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.189 H 302.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A166E6
RGBrgb(161, 102, 230)
HSLhsl(268, 72%, 65%)
HSVhsv(268, 56%, 90%)
CMYKcmyk(30%, 55.7%, 0%, 9.8%)
CIE-LABlab(54.86, 48.57, -56.38)
CIE-LCHlch(54.86, 74.41, 310.74°)
OKLaboklab(63.13% 0.1018 -0.1592)
OKLCHoklch(63.13% 0.189 302.6)
XYZxyz(33.7290, 22.7930, 77.4701)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E6 #ABE666
analogous
#666BE6 #A166E6 #E166E6
triadic
#A166E6 #E6A166 #66E6A1
tetradic
#A166E6 #E6666B #ABE666 #66E6E1
square
#A166E6 #E6666B #ABE666 #66E6E1
split-complementary
#A166E6 #E6E166 #6BE666
monochromatic
#631DB4 #8131DD #A166E6 #C19BEF #E2CFF7

Accessibility & contrast

On white

3.78
#A166E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A166E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E6#FFFFFF#000000##000000
##A166E61.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#4883E3
Tritanopia (blue-blind)
#947F9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a166e6;
/* rgb */ color: rgb(161, 102, 230);
/* oklch */ color: oklch(63.1% 0.189 302.6);
Tailwind
colors: {
  custom: {
    50: '#c094ee',
    500: '#a166e6',
    950: '#000000',
  },
}
SCSS
$custom: #a166e6;
$custom-light: #c094ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e6",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 267.656,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63134,
    "c": 0.18901,
    "h": 302.6
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#A166E6
secondary
#D6EABE
accent
#D4127A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166E6

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

Preview Lab → · Contrast checker → · Palette generator →

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