#A166F2#A166F2

#A166F2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.9% C 0.203 H 300.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A166F2
RGBrgb(161, 102, 242)
HSLhsl(265, 84%, 67%)
HSVhsv(265, 58%, 95%)
CMYKcmyk(33.5%, 57.9%, 0%, 5.1%)
CIE-LABlab(55.57, 51.48, -61.94)
CIE-LCHlch(55.57, 80.54, 309.73°)
OKLaboklab(63.89% 0.1019 -0.1756)
OKLCHoklch(63.89% 0.203 300.1)
XYZxyz(35.4725, 23.4904, 86.6524)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166F2 #B7F266
analogous
#6671F2 #A166F2 #E766F2
triadic
#A166F2 #F2A166 #66F2A1
tetradic
#A166F2 #F26671 #B7F266 #66F2E7
square
#A166F2 #F26671 #B7F266 #66F2E7
split-complementary
#A166F2 #F2E766 #71F266
monochromatic
#6011CC #7E2EED #A166F2 #C49EF7 #E6D7FC

Accessibility & contrast

On white

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

On black

5.70
#A166F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166F2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166F2#FFFFFF#000000##000000
##A166F21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a166f2;
/* rgb */ color: rgb(161, 102, 242);
/* oklch */ color: oklch(63.9% 0.203 300.1);
Tailwind
colors: {
  custom: {
    50: '#c194f7',
    500: '#a166f2',
    950: '#000000',
  },
}
SCSS
$custom: #a166f2;
$custom-light: #c194f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a166f2",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 265.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63888,
    "c": 0.20299,
    "h": 300.1
  },
  "luminance": 0.23491
}

Semantic roles & 50–950 ramp

primary
#A166F2
secondary
#DDF0C4
accent
#E10584
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A166F2

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

Preview Lab → · Contrast checker → · Palette generator →

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