#A0168D#A0168D

#A0168D is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.205 H 335.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A0168D
RGBrgb(160, 22, 141)
HSLhsl(308, 76%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 86.3%, 11.9%, 37.3%)
CIE-LABlab(37.79, 63.49, -31.47)
CIE-LCHlch(37.79, 70.87, 333.63°)
OKLaboklab(49.11% 0.1858 -0.0862)
OKLCHoklch(49.11% 0.205 335.1)
XYZxyz(19.5921, 9.9723, 26.0872)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0168D #16A029
analogous
#6E16A0 #A0168D #A01648
triadic
#A0168D #8DA016 #168DA0
tetradic
#A0168D #A06E16 #16A029 #1648A0
square
#A0168D #A06E16 #16A029 #1648A0
split-complementary
#A0168D #48A016 #16A06E
monochromatic
#34072E #6A0F5E #A0168D #D61DBC #E64AD1

Accessibility & contrast

On white

7.01
#A0168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A0168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0168D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0168D#FFFFFF#000000##FFFFFF
##A0168D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A82654
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0168d;
/* rgb */ color: rgb(160, 22, 141);
/* oklch */ color: oklch(49.1% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#c069af',
    500: '#a0168d',
    950: '#000000',
  },
}
SCSS
$custom: #a0168d;
$custom-light: #c069af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0168d",
  "rgb": {
    "r": 160,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 308.261,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.20479,
    "h": 335.1
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#A0168D
secondary
#4AC85B
accent
#F24F35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0168D

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

Preview Lab → · Contrast checker → · Palette generator →

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