#A164CC#A164CC

#A164CC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.162 H 309.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A164CC
RGBrgb(161, 100, 204)
HSLhsl(275, 50%, 60%)
HSVhsv(275, 51%, 80%)
CMYKcmyk(21.1%, 51%, 0%, 20%)
CIE-LABlab(53.01, 43.57, -44.62)
CIE-LCHlch(53.01, 62.36, 314.32°)
OKLaboklab(61.3% 0.1029 -0.1248)
OKLCHoklch(61.3% 0.162 309.5)
XYZxyz(30.1521, 21.0515, 59.5900)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164CC #8FCC64
analogous
#6D64CC #A164CC #CC64C3
triadic
#A164CC #CCA164 #64CCA1
tetradic
#A164CC #CC6D64 #8FCC64 #64C3CC
square
#A164CC #CC6D64 #8FCC64 #64C3CC
split-complementary
#A164CC #C3CC64 #64CC6D
monochromatic
#632D89 #843CB7 #A164CC #BD92DB #D9C0EA

Accessibility & contrast

On white

4.03
#A164CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A164CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A164CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A164CC#FFFFFF#000000##000000
##A164CC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#5A80C9
Tritanopia (blue-blind)
#9B768F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a164cc;
/* rgb */ color: rgb(161, 100, 204);
/* oklch */ color: oklch(61.3% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf92dc',
    500: '#a164cc',
    950: '#000000',
  },
}
SCSS
$custom: #a164cc;
$custom-light: #bf92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a164cc",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 275.192,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.1618,
    "h": 309.5
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#A164CC
secondary
#C2DAB2
accent
#DA4E88
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A164CC

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

Preview Lab → · Contrast checker → · Palette generator →

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