#A164CB#A164CB

#A164CB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.161 H 309.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A164CB
RGBrgb(161, 100, 203)
HSLhsl(276, 50%, 59%)
HSVhsv(276, 51%, 80%)
CMYKcmyk(20.7%, 50.7%, 0%, 20.4%)
CIE-LABlab(52.95, 43.34, -44.13)
CIE-LCHlch(52.95, 61.85, 314.48°)
OKLaboklab(61.25% 0.1028 -0.1234)
OKLCHoklch(61.25% 0.161 309.8)
XYZxyz(30.0326, 21.0037, 58.9603)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164CB #8ECB64
analogous
#6E64CB #A164CB #CB64C1
triadic
#A164CB #CBA164 #64CBA1
tetradic
#A164CB #CB6E64 #8ECB64 #64C1CB
square
#A164CB #CB6E64 #8ECB64 #64C1CB
split-complementary
#A164CB #C1CB64 #64CB6E
monochromatic
#632D87 #843DB5 #A164CB #BD92DA #D9C0EA

Accessibility & contrast

On white

4.04
#A164CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A164CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A164CB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A164CB#FFFFFF#000000##000000
##A164CB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#9C758E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a164cb;
/* rgb */ color: rgb(161, 100, 203);
/* oklch */ color: oklch(61.2% 0.161 309.8);
Tailwind
colors: {
  custom: {
    50: '#bf92db',
    500: '#a164cb',
    950: '#000000',
  },
}
SCSS
$custom: #a164cb;
$custom-light: #bf92db;
$custom-dark: #000000;
JSON
{
  "hex": "#a164cb",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 275.534,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.16064,
    "h": 309.8
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#A164CB
secondary
#C2D9B1
accent
#D94F87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A164CB

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

Preview Lab → · Contrast checker → · Palette generator →

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