#A166CA#A166CA

#A166CA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.156 H 309.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A166CA
RGBrgb(161, 102, 202)
HSLhsl(275, 49%, 60%)
HSVhsv(275, 50%, 79%)
CMYKcmyk(20.3%, 49.5%, 0%, 20.8%)
CIE-LABlab(53.32, 42.03, -42.97)
CIE-LCHlch(53.32, 60.11, 314.36°)
OKLaboklab(61.5% 0.1 -0.1201)
OKLCHoklch(61.5% 0.156 309.8)
XYZxyz(30.1080, 21.3446, 58.3995)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CA #8FCA66
analogous
#6F66CA #A166CA #CA66C1
triadic
#A166CA #CAA166 #66CAA1
tetradic
#A166CA #CA6F66 #8FCA66 #66C1CA
square
#A166CA #CA6F66 #8FCA66 #66C1CA
split-complementary
#A166CA #C1CA66 #66CA6F
monochromatic
#632F87 #843EB4 #A166CA #BD93DA #D9C1E9

Accessibility & contrast

On white

3.99
#A166CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A166CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CA#FFFFFF#000000##000000
##A166CA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCD
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#9C778F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a166ca;
/* rgb */ color: rgb(161, 102, 202);
/* oklch */ color: oklch(61.5% 0.156 309.8);
Tailwind
colors: {
  custom: {
    50: '#bf93da',
    500: '#a166ca',
    950: '#000000',
  },
}
SCSS
$custom: #a166ca;
$custom-light: #bf93da;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ca",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 275.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.15623,
    "h": 309.8
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#A166CA
secondary
#C2D9B2
accent
#D85088
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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