#A166CB#A166CB

#A166CB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.157 H 309.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A166CB
RGBrgb(161, 102, 203)
HSLhsl(275, 49%, 60%)
HSVhsv(275, 50%, 80%)
CMYKcmyk(20.7%, 49.8%, 0%, 20.4%)
CIE-LABlab(53.38, 42.25, -43.46)
CIE-LCHlch(53.38, 60.62, 314.19°)
OKLaboklab(61.56% 0.1001 -0.1215)
OKLCHoklch(61.56% 0.157 309.5)
XYZxyz(30.2268, 21.3921, 59.0251)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166CB #90CB66
analogous
#6F66CB #A166CB #CB66C2
triadic
#A166CB #CBA166 #66CBA1
tetradic
#A166CB #CB6F66 #90CB66 #66C2CB
square
#A166CB #CB6F66 #90CB66 #66C2CB
split-complementary
#A166CB #C2CB66 #66CB6F
monochromatic
#632E88 #843EB6 #A166CB #BD94DB #D9C1EA

Accessibility & contrast

On white

3.98
#A166CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A166CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166CB#FFFFFF#000000##000000
##A166CB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a166cb;
/* rgb */ color: rgb(161, 102, 203);
/* oklch */ color: oklch(61.6% 0.157 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf93db',
    500: '#a166cb',
    950: '#000000',
  },
}
SCSS
$custom: #a166cb;
$custom-light: #bf93db;
$custom-dark: #000000;
JSON
{
  "hex": "#a166cb",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 275.05,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.1574,
    "h": 309.5
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#A166CB
secondary
#C3DAB3
accent
#D94F88
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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