#A166FB#A166FB

#A166FB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.213 H 298.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A166FB
RGBrgb(161, 102, 251)
HSLhsl(264, 95%, 69%)
HSVhsv(264, 59%, 98%)
CMYKcmyk(35.9%, 59.4%, 0%, 1.6%)
CIE-LABlab(56.13, 53.70, -66.04)
CIE-LCHlch(56.13, 85.11, 309.12°)
OKLaboklab(64.48% 0.1017 -0.1876)
OKLCHoklch(64.48% 0.213 298.5)
XYZxyz(36.8576, 24.0444, 93.9473)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166FB #C0FB66
analogous
#6676FB #A166FB #EB66FB
triadic
#A166FB #FBA166 #66FBA1
tetradic
#A166FB #FB6676 #C0FB66 #66FBEB
square
#A166FB #FB6676 #C0FB66 #66FBEB
split-complementary
#A166FB #FBEB66 #76FB66
monochromatic
#5D06E1 #7C2AF9 #A166FB #C6A2FD #EADDFE

Accessibility & contrast

On white

3.62
#A166FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A166FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166FB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166FB#FFFFFF#000000##000000
##A166FB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#8D86A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a166fb;
/* rgb */ color: rgb(161, 102, 251);
/* oklch */ color: oklch(64.5% 0.213 298.5);
Tailwind
colors: {
  custom: {
    50: '#c294fd',
    500: '#a166fb',
    950: '#000000',
  },
}
SCSS
$custom: #a166fb;
$custom-light: #c294fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a166fb",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 263.758,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.21339,
    "h": 298.5
  },
  "luminance": 0.24045
}

Semantic roles & 50–950 ramp

primary
#A166FB
secondary
#E3F4C9
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A166FB

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

Preview Lab → · Contrast checker → · Palette generator →

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