#A166E7#A166E7

#A166E7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.190 H 302.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A166E7
RGBrgb(161, 102, 231)
HSLhsl(267, 73%, 65%)
HSVhsv(267, 56%, 91%)
CMYKcmyk(30.3%, 55.8%, 0%, 9.4%)
CIE-LABlab(54.92, 48.81, -56.85)
CIE-LCHlch(54.92, 74.92, 310.65°)
OKLaboklab(63.2% 0.1019 -0.1606)
OKLCHoklch(63.2% 0.19 302.4)
XYZxyz(33.8698, 22.8493, 78.2118)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166E7 #ACE766
analogous
#666BE7 #A166E7 #E166E7
triadic
#A166E7 #E7A166 #66E7A1
tetradic
#A166E7 #E7666B #ACE766 #66E7E1
square
#A166E7 #E7666B #ACE766 #66E7E1
split-complementary
#A166E7 #E7E166 #6BE766
monochromatic
#631DB6 #8031DF #A166E7 #C29BEF #E2D0F8

Accessibility & contrast

On white

3.77
#A166E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A166E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166E7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166E7#FFFFFF#000000##000000
##A166E71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#947F9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a166e7;
/* rgb */ color: rgb(161, 102, 231);
/* oklch */ color: oklch(63.2% 0.190 302.4);
Tailwind
colors: {
  custom: {
    50: '#c094ef',
    500: '#a166e7',
    950: '#000000',
  },
}
SCSS
$custom: #a166e7;
$custom-light: #c094ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a166e7",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 267.442,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.19018,
    "h": 302.4
  },
  "luminance": 0.22849
}

Semantic roles & 50–950 ramp

primary
#A166E7
secondary
#D6EABF
accent
#D5117B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166E7

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

Preview Lab → · Contrast checker → · Palette generator →

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