#A166FF#A166FF

#A166FF is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.218 H 297.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A166FF
RGBrgb(161, 102, 255)
HSLhsl(263, 100%, 70%)
HSVhsv(263, 60%, 100%)
CMYKcmyk(36.9%, 60%, 0%, 0%)
CIE-LABlab(56.39, 54.69, -67.84)
CIE-LCHlch(56.39, 87.14, 308.88°)
OKLaboklab(64.74% 0.1016 -0.1929)
OKLCHoklch(64.74% 0.218 297.8)
XYZxyz(37.4948, 24.2993, 97.3032)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166FF #C4FF66
analogous
#6678FF #A166FF #ED66FF
triadic
#A166FF #FFA166 #66FFA1
tetradic
#A166FF #FF6678 #C4FF66 #66FFED
square
#A166FF #FF6678 #C4FF66 #66FFED
split-complementary
#A166FF #FFED66 #78FF66
monochromatic
#5A00EB #7B29FF #A166FF #C7A3FF #ECE0FF

Accessibility & contrast

On white

3.58
#A166FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166FF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166FF#FFFFFF#000000##000000
##A166FF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#2486FC
Tritanopia (blue-blind)
#8B87A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a166ff;
/* rgb */ color: rgb(161, 102, 255);
/* oklch */ color: oklch(64.7% 0.218 297.8);
Tailwind
colors: {
  custom: {
    50: '#c294ff',
    500: '#a166ff',
    950: '#000000',
  },
}
SCSS
$custom: #a166ff;
$custom-light: #c294ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ff",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 263.137,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.21799,
    "h": 297.8
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#A166FF
secondary
#E5F6CB
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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