#A166E8#A166E8

#A166E8 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.191 H 302.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A166E8
RGBrgb(161, 102, 232)
HSLhsl(267, 74%, 65%)
HSVhsv(267, 56%, 91%)
CMYKcmyk(30.6%, 56%, 0%, 9%)
CIE-LABlab(54.98, 49.05, -57.31)
CIE-LCHlch(54.98, 75.43, 310.56°)
OKLaboklab(63.26% 0.1019 -0.162)
OKLCHoklch(63.26% 0.191 302.2)
XYZxyz(34.0115, 22.9060, 78.9577)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E8 #ADE866
analogous
#666CE8 #A166E8 #E266E8
triadic
#A166E8 #E8A166 #66E8A1
tetradic
#A166E8 #E8666C #ADE866 #66E8E2
square
#A166E8 #E8666C #ADE866 #66E8E2
split-complementary
#A166E8 #E8E266 #6CE866
monochromatic
#631CB8 #8031E0 #A166E8 #C29BF0 #E2D0F8

Accessibility & contrast

On white

3.76
#A166E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A166E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E8#FFFFFF#000000##000000
##A166E81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83EC
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#93809D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a166e8;
/* rgb */ color: rgb(161, 102, 232);
/* oklch */ color: oklch(63.3% 0.191 302.2);
Tailwind
colors: {
  custom: {
    50: '#c194f0',
    500: '#a166e8',
    950: '#000000',
  },
}
SCSS
$custom: #a166e8;
$custom-light: #c194f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e8",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 267.231,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63257,
    "c": 0.19135,
    "h": 302.2
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#A166E8
secondary
#D7EBBF
accent
#D6107C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166E8

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

Preview Lab → · Contrast checker → · Palette generator →

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