#A166F6#A166F6

#A166F6 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.208 H 299.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A166F6
RGBrgb(161, 102, 246)
HSLhsl(265, 89%, 68%)
HSVhsv(265, 59%, 96%)
CMYKcmyk(34.6%, 58.5%, 0%, 3.5%)
CIE-LABlab(55.82, 52.46, -63.77)
CIE-LCHlch(55.82, 82.57, 309.45°)
OKLaboklab(64.15% 0.1019 -0.1809)
OKLCHoklch(64.15% 0.208 299.4)
XYZxyz(36.0798, 23.7333, 89.8510)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F6 #BBF666
analogous
#6673F6 #A166F6 #E966F6
triadic
#A166F6 #F6A166 #66F6A1
tetradic
#A166F6 #F66673 #BBF666 #66F6E9
square
#A166F6 #F66673 #BBF666 #66F6E9
split-complementary
#A166F6 #F6E966 #73F666
monochromatic
#5F0DD5 #7D2CF3 #A166F6 #C5A0F9 #E8DAFD

Accessibility & contrast

On white

3.65
#A166F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A166F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F6#FFFFFF#000000##000000
##A166F61.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1086FB
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#8E84A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a166f6;
/* rgb */ color: rgb(161, 102, 246);
/* oklch */ color: oklch(64.1% 0.208 299.4);
Tailwind
colors: {
  custom: {
    50: '#c194fa',
    500: '#a166f6',
    950: '#000000',
  },
}
SCSS
$custom: #a166f6;
$custom-light: #c194fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f6",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 264.583,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.20762,
    "h": 299.4
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#A166F6
secondary
#E0F2C6
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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