#A162CA#A162CA

#A162CA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.163 H 310.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A162CA
RGBrgb(161, 98, 202)
HSLhsl(276, 50%, 59%)
HSVhsv(276, 51%, 79%)
CMYKcmyk(20.3%, 51.5%, 0%, 20.8%)
CIE-LABlab(52.48, 44.20, -44.30)
CIE-LCHlch(52.48, 62.58, 314.93°)
OKLaboklab(60.88% 0.1055 -0.1239)
OKLCHoklch(60.88% 0.163 310.4)
XYZxyz(29.7243, 20.5772, 58.2716)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162CA #8BCA62
analogous
#6D62CA #A162CA #CA62BF
triadic
#A162CA #CAA162 #62CAA1
tetradic
#A162CA #CA6D62 #8BCA62 #62BFCA
square
#A162CA #CA6D62 #8BCA62 #62BFCA
split-complementary
#A162CA #BFCA62 #62CA6D
monochromatic
#622D85 #843CB3 #A162CA #BC90D9 #D8BEE9

Accessibility & contrast

On white

4.11
#A162CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A162CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162CA#FFFFFF#000000##000000
##A162CA1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#9C738D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a162ca;
/* rgb */ color: rgb(161, 98, 202);
/* oklch */ color: oklch(60.9% 0.163 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf91da',
    500: '#a162ca',
    950: '#000000',
  },
}
SCSS
$custom: #a162ca;
$custom-light: #bf91da;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ca",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 276.346,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.16271,
    "h": 310.4
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#A162CA
secondary
#C0D8AF
accent
#D94F85
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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