#A166F1#A166F1

#A166F1 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.8% C 0.202 H 300.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A166F1
RGBrgb(161, 102, 241)
HSLhsl(265, 83%, 67%)
HSVhsv(265, 58%, 95%)
CMYKcmyk(33.2%, 57.7%, 0%, 5.5%)
CIE-LABlab(55.51, 51.23, -61.48)
CIE-LCHlch(55.51, 80.03, 309.81°)
OKLaboklab(63.82% 0.1019 -0.1742)
OKLCHoklch(63.82% 0.202 300.3)
XYZxyz(35.3227, 23.4304, 85.8636)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F1 #B6F166
analogous
#6670F1 #A166F1 #E766F1
triadic
#A166F1 #F1A166 #66F1A1
tetradic
#A166F1 #F16670 #B6F166 #66F1E7
square
#A166F1 #F16670 #B6F166 #66F1E7
split-complementary
#A166F1 #F1E766 #70F166
monochromatic
#6012CA #7F2EEC #A166F1 #C39EF6 #E6D6FB

Accessibility & contrast

On white

3.69
#A166F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A166F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F1#FFFFFF#000000##000000
##A166F11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F84F6
Deuteranopia (green-blind)
#3C84EE
Tritanopia (blue-blind)
#9083A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a166f1;
/* rgb */ color: rgb(161, 102, 241);
/* oklch */ color: oklch(63.8% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#c194f6',
    500: '#a166f1',
    950: '#000000',
  },
}
SCSS
$custom: #a166f1;
$custom-light: #c194f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f1",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 265.468,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.20182,
    "h": 300.3
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#A166F1
secondary
#DDEFC3
accent
#E00683
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166F1

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

Preview Lab → · Contrast checker → · Palette generator →

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