#A166F3#A166F3

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

Color values

HEX#A166F3
RGBrgb(161, 102, 243)
HSLhsl(265, 85%, 68%)
HSVhsv(265, 58%, 95%)
CMYKcmyk(33.7%, 58%, 0%, 4.7%)
CIE-LABlab(55.63, 51.73, -62.40)
CIE-LCHlch(55.63, 81.05, 309.66°)
OKLaboklab(63.95% 0.1019 -0.1769)
OKLCHoklch(63.95% 0.204 299.9)
XYZxyz(35.6231, 23.5506, 87.4456)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F3 #B8F366
analogous
#6672F3 #A166F3 #E766F3
triadic
#A166F3 #F3A166 #66F3A1
tetradic
#A166F3 #F36672 #B8F366 #66F3E7
square
#A166F3 #F36672 #B8F366 #66F3E7
split-complementary
#A166F3 #F3E766 #72F366
monochromatic
#6010CE #7E2DEF #A166F3 #C49FF7 #E7D7FC

Accessibility & contrast

On white

3.68
#A166F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A166F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F3#FFFFFF#000000##000000
##A166F31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F8
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#9083A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a166f3;
/* rgb */ color: rgb(161, 102, 243);
/* oklch */ color: oklch(64.0% 0.204 299.9);
Tailwind
colors: {
  custom: {
    50: '#c194f8',
    500: '#a166f3',
    950: '#000000',
  },
}
SCSS
$custom: #a166f3;
$custom-light: #c194f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f3",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 265.106,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.20414,
    "h": 299.9
  },
  "luminance": 0.23551
}

Semantic roles & 50–950 ramp

primary
#A166F3
secondary
#DEF0C5
accent
#E20485
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166F3

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

Preview Lab → · Contrast checker → · Palette generator →

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