#A167A2#A167A2

#A167A2 is a mid, moderate purple. Relative luminance 0.199; OKLCH L 59.7% C 0.110 H 326.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A167A2
RGBrgb(161, 103, 162)
HSLhsl(299, 24%, 52%)
HSVhsv(299, 36%, 64%)
CMYKcmyk(0.6%, 36.4%, 0%, 36.5%)
CIE-LABlab(51.71, 33.01, -22.37)
CIE-LCHlch(51.71, 39.88, 325.87°)
OKLaboklab(59.7% 0.0911 -0.0609)
OKLCHoklch(59.7% 0.11 326.3)
XYZxyz(26.0692, 19.8872, 36.6408)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A167A2 #68A267
analogous
#8467A2 #A167A2 #A26786
triadic
#A167A2 #A2A167 #67A2A1
tetradic
#A167A2 #A28467 #68A267 #6786A2
square
#A167A2 #A28467 #68A267 #6786A2
split-complementary
#A167A2 #86A267 #67A284
monochromatic
#583658 #7E4D7E #A167A2 #B88DB9 #D0B3D0

Accessibility & contrast

On white

4.22
#A167A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A167A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A167A2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A167A2#FFFFFF#000000##000000
##A167A21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A4
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#A46D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a167a2;
/* rgb */ color: rgb(161, 103, 162);
/* oklch */ color: oklch(59.7% 0.110 326.3);
Tailwind
colors: {
  custom: {
    50: '#be93bd',
    500: '#a167a2',
    950: '#000000',
  },
}
SCSS
$custom: #a167a2;
$custom-light: #be93bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a167a2",
  "rgb": {
    "r": 161,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 298.983,
    "s": 24.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.10959,
    "h": 326.3
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#A167A2
secondary
#A6BFA5
accent
#C16769
background
#FBF9FB
surface
#F7F1F6
border
#D0CBD0
text
#120D12
muted
#817E81

Preview Lab

Preview with #A167A2

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

Preview Lab → · Contrast checker → · Palette generator →

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