#A166F9#A166F9

#A166F9 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.211 H 298.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A166F9
RGBrgb(161, 102, 249)
HSLhsl(264, 92%, 69%)
HSVhsv(264, 59%, 98%)
CMYKcmyk(35.3%, 59%, 0%, 2.4%)
CIE-LABlab(56.01, 53.20, -65.13)
CIE-LCHlch(56.01, 84.10, 309.24°)
OKLaboklab(64.34% 0.1018 -0.1849)
OKLCHoklch(64.34% 0.211 298.8)
XYZxyz(36.5440, 23.9190, 92.2957)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F9 #BEF966
analogous
#6675F9 #A166F9 #EB66F9
triadic
#A166F9 #F9A166 #66F9A1
tetradic
#A166F9 #F96675 #BEF966 #66F9EB
square
#A166F9 #F96675 #BEF966 #66F9EB
split-complementary
#A166F9 #F9EB66 #75F966
monochromatic
#5D09DC #7D2BF7 #A166F9 #C5A1FB #E9DCFE

Accessibility & contrast

On white

3.63
#A166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A166F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F9#FFFFFF#000000##000000
##A166F91.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#3085F6
Tritanopia (blue-blind)
#8D85A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a166f9;
/* rgb */ color: rgb(161, 102, 249);
/* oklch */ color: oklch(64.3% 0.211 298.8);
Tailwind
colors: {
  custom: {
    50: '#c294fc',
    500: '#a166f9',
    950: '#000000',
  },
}
SCSS
$custom: #a166f9;
$custom-light: #c294fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f9",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 264.082,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64343,
    "c": 0.21109,
    "h": 298.8
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#A166F9
secondary
#E2F3C8
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A166F9

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

Preview Lab → · Contrast checker → · Palette generator →

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