#A162BD#A162BD

#A162BD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.2% C 0.148 H 314.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A162BD
RGBrgb(161, 98, 189)
HSLhsl(282, 41%, 56%)
HSVhsv(282, 48%, 74%)
CMYKcmyk(14.8%, 48.1%, 0%, 25.9%)
CIE-LABlab(51.82, 41.34, -37.88)
CIE-LCHlch(51.82, 56.07, 317.50°)
OKLaboklab(60.18% 0.104 -0.1053)
OKLCHoklch(60.18% 0.148 314.6)
XYZxyz(28.2495, 19.9873, 50.5041)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162BD #7EBD62
analogous
#7462BD #A162BD #BD62AC
triadic
#A162BD #BDA162 #62BDA1
tetradic
#A162BD #BD7462 #7EBD62 #62ACBD
square
#A162BD #BD7462 #7EBD62 #62ACBD
split-complementary
#A162BD #ACBD62 #62BD74
monochromatic
#5F3174 #83439F #A162BD #BB8DCF #D5B8E1

Accessibility & contrast

On white

4.20
#A162BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A162BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162BD#FFFFFF#000000##000000
##A162BD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#9F7087
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a162bd;
/* rgb */ color: rgb(161, 98, 189);
/* oklch */ color: oklch(60.2% 0.148 314.6);
Tailwind
colors: {
  custom: {
    50: '#bf90d1',
    500: '#a162bd',
    950: '#000000',
  },
}
SCSS
$custom: #a162bd;
$custom-light: #bf90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a162bd",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 281.538,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60175,
    "c": 0.14794,
    "h": 314.6
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#A162BD
secondary
#B6D0AB
accent
#D1577D
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A162BD

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

Preview Lab → · Contrast checker → · Palette generator →

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