#A162BA#A162BA

#A162BA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.0% C 0.145 H 315.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A162BA
RGBrgb(161, 98, 186)
HSLhsl(283, 39%, 56%)
HSVhsv(283, 47%, 73%)
CMYKcmyk(13.4%, 47.3%, 0%, 27.1%)
CIE-LABlab(51.68, 40.69, -36.38)
CIE-LCHlch(51.68, 54.58, 318.20°)
OKLaboklab(60.02% 0.1035 -0.1009)
OKLCHoklch(60.02% 0.145 315.7)
XYZxyz(27.9272, 19.8584, 48.8068)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162BA #7BBA62
analogous
#7562BA #A162BA #BA62A7
triadic
#A162BA #BAA162 #62BAA1
tetradic
#A162BA #BA7562 #7BBA62 #62A7BA
square
#A162BA #BA7562 #7BBA62 #62A7BA
split-complementary
#A162BA #A7BA62 #62BA75
monochromatic
#5E3170 #82449B #A162BA #BA8DCD #D4B7DF

Accessibility & contrast

On white

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

On black

4.97
#A162BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162BA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162BA#FFFFFF#000000##000000
##A162BA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#A06F85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a162ba;
/* rgb */ color: rgb(161, 98, 186);
/* oklch */ color: oklch(60.0% 0.145 315.7);
Tailwind
colors: {
  custom: {
    50: '#be90cf',
    500: '#a162ba',
    950: '#000000',
  },
}
SCSS
$custom: #a162ba;
$custom-light: #be90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ba",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 282.955,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.14457,
    "h": 315.7
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#A162BA
secondary
#B4CEAA
accent
#CF597A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A162BA

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

Preview Lab → · Contrast checker → · Palette generator →

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