#A162BB#A162BB

#A162BB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.1% C 0.146 H 315.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A162BB
RGBrgb(161, 98, 187)
HSLhsl(282, 40%, 56%)
HSVhsv(282, 48%, 73%)
CMYKcmyk(13.9%, 47.6%, 0%, 26.7%)
CIE-LABlab(51.73, 40.91, -36.88)
CIE-LCHlch(51.73, 55.08, 317.96°)
OKLaboklab(60.07% 0.1037 -0.1024)
OKLCHoklch(60.07% 0.146 315.4)
XYZxyz(28.0339, 19.9011, 49.3686)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162BB #7CBB62
analogous
#7462BB #A162BB #BB62A8
triadic
#A162BB #BBA162 #62BBA1
tetradic
#A162BB #BB7462 #7CBB62 #62A8BB
square
#A162BB #BB7462 #7CBB62 #62A8BB
split-complementary
#A162BB #A8BB62 #62BB74
monochromatic
#5F3171 #82449C #A162BB #BB8DCD #D4B7E0

Accessibility & contrast

On white

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

On black

4.98
#A162BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162BB#FFFFFF#000000##000000
##A162BB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#A06F86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a162bb;
/* rgb */ color: rgb(161, 98, 187);
/* oklch */ color: oklch(60.1% 0.146 315.4);
Tailwind
colors: {
  custom: {
    50: '#be90d0',
    500: '#a162bb',
    950: '#000000',
  },
}
SCSS
$custom: #a162bb;
$custom-light: #be90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a162bb",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 282.472,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.1457,
    "h": 315.4
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#A162BB
secondary
#B5CFAA
accent
#CF587B
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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