#A166CD#A166CD

#A166CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.160 H 308.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A166CD
RGBrgb(161, 102, 205)
HSLhsl(274, 51%, 60%)
HSVhsv(274, 50%, 80%)
CMYKcmyk(21.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(53.48, 42.71, -44.44)
CIE-LCHlch(53.48, 61.63, 313.86°)
OKLaboklab(61.67% 0.1003 -0.1243)
OKLCHoklch(61.67% 0.16 308.9)
XYZxyz(30.4666, 21.4880, 60.2884)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CD #92CD66
analogous
#6D66CD #A166CD #CD66C5
triadic
#A166CD #CDA166 #66CDA1
tetradic
#A166CD #CD6D66 #92CD66 #66C5CD
square
#A166CD #CD6D66 #92CD66 #66C5CD
split-complementary
#A166CD #C5CD66 #66CD6D
monochromatic
#632D8B #843DB9 #A166CD #BD94DC #DAC2EB

Accessibility & contrast

On white

3.96
#A166CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A166CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CD#FFFFFF#000000##000000
##A166CD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#9B7790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a166cd;
/* rgb */ color: rgb(161, 102, 205);
/* oklch */ color: oklch(61.7% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf93dd',
    500: '#a166cd',
    950: '#000000',
  },
}
SCSS
$custom: #a166cd;
$custom-light: #bf93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a166cd",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 274.369,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.15973,
    "h": 308.9
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#A166CD
secondary
#C5DBB4
accent
#BE2768
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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