#A0168F#A0168F

#A0168F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.206 H 334.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A0168F
RGBrgb(160, 22, 143)
HSLhsl(307, 76%, 36%)
HSVhsv(307, 86%, 63%)
CMYKcmyk(0%, 86.3%, 10.6%, 37.3%)
CIE-LABlab(37.90, 63.78, -32.53)
CIE-LCHlch(37.90, 71.60, 332.98°)
OKLaboklab(49.23% 0.1858 -0.0893)
OKLCHoklch(49.23% 0.206 334.3)
XYZxyz(19.7423, 10.0324, 26.8780)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0168F #16A027
analogous
#6C16A0 #A0168F #A0164A
triadic
#A0168F #8FA016 #168FA0
tetradic
#A0168F #A06C16 #16A027 #164AA0
square
#A0168F #A06C16 #16A027 #164AA0
split-complementary
#A0168F #4AA016 #16A06C
monochromatic
#34072F #6A0F5F #A0168F #D61DBF #E64AD3

Accessibility & contrast

On white

6.99
#A0168F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A0168F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0168F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0168F#FFFFFF#000000##FFFFFF
##A0168F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A82755
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0168f;
/* rgb */ color: rgb(160, 22, 143);
/* oklch */ color: oklch(49.2% 0.206 334.3);
Tailwind
colors: {
  custom: {
    50: '#c069b0',
    500: '#a0168f',
    950: '#000000',
  },
}
SCSS
$custom: #a0168f;
$custom-light: #c069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0168f",
  "rgb": {
    "r": 160,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 307.391,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.20614,
    "h": 334.3
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#A0168F
secondary
#4AC85A
accent
#F24D35
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0168F

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

Preview Lab → · Contrast checker → · Palette generator →

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