#A166F4#A166F4

#A166F4 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.0% C 0.205 H 299.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A166F4
RGBrgb(161, 102, 244)
HSLhsl(265, 87%, 68%)
HSVhsv(265, 58%, 96%)
CMYKcmyk(34%, 58.2%, 0%, 4.3%)
CIE-LABlab(55.70, 51.97, -62.85)
CIE-LCHlch(55.70, 81.56, 309.59°)
OKLaboklab(64.02% 0.1019 -0.1782)
OKLCHoklch(64.02% 0.205 299.8)
XYZxyz(35.7745, 23.6112, 88.2431)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F4 #B9F466
analogous
#6672F4 #A166F4 #E866F4
triadic
#A166F4 #F4A166 #66F4A1
tetradic
#A166F4 #F46672 #B9F466 #66F4E8
square
#A166F4 #F46672 #B9F466 #66F4E8
split-complementary
#A166F4 #F4E866 #72F466
monochromatic
#5F0FD1 #7E2DF0 #A166F4 #C49FF8 #E7D8FC

Accessibility & contrast

On white

3.67
#A166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A166F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F4#FFFFFF#000000##000000
##A166F41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1785F9
Deuteranopia (green-blind)
#3884F1
Tritanopia (blue-blind)
#8F84A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a166f4;
/* rgb */ color: rgb(161, 102, 244);
/* oklch */ color: oklch(64.0% 0.205 299.8);
Tailwind
colors: {
  custom: {
    50: '#c194f8',
    500: '#a166f4',
    950: '#000000',
  },
}
SCSS
$custom: #a166f4;
$custom-light: #c194f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f4",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 264.93,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.20531,
    "h": 299.8
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#A166F4
secondary
#DFF1C5
accent
#E30286
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166F4

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

Preview Lab → · Contrast checker → · Palette generator →

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