#A0168B#A0168B

#A0168B is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.203 H 335.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A0168B
RGBrgb(160, 22, 139)
HSLhsl(309, 76%, 36%)
HSVhsv(309, 86%, 63%)
CMYKcmyk(0%, 86.3%, 13.1%, 37.3%)
CIE-LABlab(37.69, 63.21, -30.41)
CIE-LCHlch(37.69, 70.14, 334.31°)
OKLaboklab(49% 0.1857 -0.0832)
OKLCHoklch(49% 0.203 335.9)
XYZxyz(19.4447, 9.9134, 25.3105)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0168B #16A02B
analogous
#7016A0 #A0168B #A01646
triadic
#A0168B #8BA016 #168BA0
tetradic
#A0168B #A07016 #16A02B #1646A0
square
#A0168B #A07016 #16A02B #1646A0
split-complementary
#A0168B #46A016 #16A070
monochromatic
#34072E #6A0F5C #A0168B #D61DBA #E64ACE

Accessibility & contrast

On white

7.04
#A0168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A0168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0168B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0168B#FFFFFF#000000##FFFFFF
##A0168B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#4E6088
Tritanopia (blue-blind)
#A92453
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0168b;
/* rgb */ color: rgb(160, 22, 139);
/* oklch */ color: oklch(49.0% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#c069ad',
    500: '#a0168b',
    950: '#000000',
  },
}
SCSS
$custom: #a0168b;
$custom-light: #c069ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a0168b",
  "rgb": {
    "r": 160,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 309.13,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.20346,
    "h": 335.9
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#A0168B
secondary
#4AC85D
accent
#F25235
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0168B

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

Preview Lab → · Contrast checker → · Palette generator →

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