#A162BF#A162BF

#A162BF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.3% C 0.150 H 313.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A162BF
RGBrgb(161, 98, 191)
HSLhsl(281, 42%, 57%)
HSVhsv(281, 49%, 75%)
CMYKcmyk(15.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(51.92, 41.77, -38.88)
CIE-LCHlch(51.92, 57.06, 317.05°)
OKLaboklab(60.28% 0.1042 -0.1081)
OKLCHoklch(60.28% 0.15 313.9)
XYZxyz(28.4681, 20.0747, 51.6553)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162BF #80BF62
analogous
#7362BF #A162BF #BF62AF
triadic
#A162BF #BFA162 #62BFA1
tetradic
#A162BF #BF7362 #80BF62 #62AFBF
square
#A162BF #BF7362 #80BF62 #62AFBF
split-complementary
#A162BF #AFBF62 #62BF73
monochromatic
#603076 #8342A2 #A162BF #BB8DD1 #D5B9E2

Accessibility & contrast

On white

4.19
#A162BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A162BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162BF#FFFFFF#000000##000000
##A162BF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#9F7088
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a162bf;
/* rgb */ color: rgb(161, 98, 191);
/* oklch */ color: oklch(60.3% 0.150 313.9);
Tailwind
colors: {
  custom: {
    50: '#bf90d2',
    500: '#a162bf',
    950: '#000000',
  },
}
SCSS
$custom: #a162bf;
$custom-light: #bf90d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a162bf",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 280.645,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60281,
    "c": 0.15019,
    "h": 313.9
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#A162BF
secondary
#B8D1AB
accent
#D2567E
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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