#A166FD#A166FD

#A166FD is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.216 H 298.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A166FD
RGBrgb(161, 102, 253)
HSLhsl(263, 97%, 70%)
HSVhsv(263, 60%, 99%)
CMYKcmyk(36.4%, 59.7%, 0%, 0.8%)
CIE-LABlab(56.26, 54.20, -66.94)
CIE-LCHlch(56.26, 86.13, 308.99°)
OKLaboklab(64.61% 0.1016 -0.1902)
OKLCHoklch(64.61% 0.216 298.1)
XYZxyz(37.1745, 24.1712, 95.6164)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166FD #C2FD66
analogous
#6677FD #A166FD #ED66FD
triadic
#A166FD #FDA166 #66FDA1
tetradic
#A166FD #FD6677 #C2FD66 #66FDED
square
#A166FD #FD6677 #C2FD66 #66FDED
split-complementary
#A166FD #FDED66 #77FD66
monochromatic
#5C03E6 #7C2AFC #A166FD #C6A2FE #EBDFFF

Accessibility & contrast

On white

3.60
#A166FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A166FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166FD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166FD#FFFFFF#000000##000000
##A166FD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2885FA
Tritanopia (blue-blind)
#8C87A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a166fd;
/* rgb */ color: rgb(161, 102, 253);
/* oklch */ color: oklch(64.6% 0.216 298.1);
Tailwind
colors: {
  custom: {
    50: '#c294ff',
    500: '#a166fd',
    950: '#000000',
  },
}
SCSS
$custom: #a166fd;
$custom-light: #c294ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a166fd",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 263.444,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64607,
    "c": 0.21569,
    "h": 298.1
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#A166FD
secondary
#E4F5CA
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A166FD

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

Preview Lab → · Contrast checker → · Palette generator →

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