#A162D0#A162D0

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

Color values

HEX#A162D0
RGBrgb(161, 98, 208)
HSLhsl(274, 54%, 60%)
HSVhsv(274, 53%, 82%)
CMYKcmyk(22.6%, 52.9%, 0%, 18.4%)
CIE-LABlab(52.80, 45.55, -47.22)
CIE-LCHlch(52.80, 65.61, 313.97°)
OKLaboklab(61.22% 0.106 -0.1324)
OKLCHoklch(61.22% 0.17 308.7)
XYZxyz(30.4486, 20.8669, 62.0860)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162D0 #91D062
analogous
#6A62D0 #A162D0 #D062C8
triadic
#A162D0 #D0A162 #62D0A1
tetradic
#A162D0 #D06A62 #91D062 #62C8D0
square
#A162D0 #D06A62 #91D062 #62C8D0
split-complementary
#A162D0 #C8D062 #62D06A
monochromatic
#632A8D #8438BC #A162D0 #BD91DE #D9C0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A162D0#FFFFFF#000000##000000
##A162D01.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)
#417BD4
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#9A7590
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a162d0;
/* rgb */ color: rgb(161, 98, 208);
/* oklch */ color: oklch(61.2% 0.170 308.7);
Tailwind
colors: {
  custom: {
    50: '#bf91df',
    500: '#a162d0',
    950: '#000000',
  },
}
SCSS
$custom: #a162d0;
$custom-light: #bf91df;
$custom-dark: #000000;
JSON
{
  "hex": "#a162d0",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 274.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.16959,
    "h": 308.7
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#A162D0
secondary
#C4DCB2
accent
#DD4B89
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A162D0

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

Preview Lab → · Contrast checker → · Palette generator →

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