#A164C8#A164C8

#A164C8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.157 H 310.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A164C8
RGBrgb(161, 100, 200)
HSLhsl(277, 48%, 59%)
HSVhsv(277, 50%, 78%)
CMYKcmyk(19.5%, 50%, 0%, 21.6%)
CIE-LABlab(52.80, 42.67, -42.66)
CIE-LCHlch(52.80, 60.34, 315.00°)
OKLaboklab(61.08% 0.1025 -0.1191)
OKLCHoklch(61.08% 0.157 310.7)
XYZxyz(29.6785, 20.8621, 57.0957)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164C8 #8BC864
analogous
#6F64C8 #A164C8 #C864BD
triadic
#A164C8 #C8A164 #64C8A1
tetradic
#A164C8 #C86F64 #8BC864 #64BDC8
square
#A164C8 #C86F64 #8BC864 #64BDC8
split-complementary
#A164C8 #BDC864 #64C86F
monochromatic
#622F83 #843FB0 #A164C8 #BC91D8 #D8BEE8

Accessibility & contrast

On white

4.06
#A164C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A164C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A164C8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A164C8#FFFFFF#000000##000000
##A164C81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#9C748D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a164c8;
/* rgb */ color: rgb(161, 100, 200);
/* oklch */ color: oklch(61.1% 0.157 310.7);
Tailwind
colors: {
  custom: {
    50: '#bf92d9',
    500: '#a164c8',
    950: '#000000',
  },
}
SCSS
$custom: #a164c8;
$custom-light: #bf92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a164c8",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 276.6,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.15717,
    "h": 310.7
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#A164C8
secondary
#C0D8B0
accent
#D75185
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #A164C8

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

Preview Lab → · Contrast checker → · Palette generator →

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