#A168B2#A168B2

#A168B2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.6% C 0.125 H 318.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A168B2
RGBrgb(161, 104, 178)
HSLhsl(286, 32%, 55%)
HSVhsv(286, 42%, 70%)
CMYKcmyk(9.6%, 41.6%, 0%, 30.2%)
CIE-LABlab(52.61, 35.69, -30.29)
CIE-LCHlch(52.61, 46.81, 319.68°)
OKLaboklab(60.6% 0.0933 -0.0834)
OKLCHoklch(60.6% 0.125 318.2)
XYZxyz(27.6830, 20.6929, 44.6467)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168B2 #79B268
analogous
#7C68B2 #A168B2 #B2689E
triadic
#A168B2 #B2A168 #68B2A1
tetradic
#A168B2 #B27C68 #79B268 #689EB2
square
#A168B2 #B27C68 #79B268 #689EB2
split-complementary
#A168B2 #9EB268 #68B27C
monochromatic
#5E366A #824B92 #A168B2 #BA91C7 #D3B9DB

Accessibility & contrast

On white

4.09
#A168B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A168B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168B2#FFFFFF#000000##000000
##A168B21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#6C7FB0
Tritanopia (blue-blind)
#A17185
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a168b2;
/* rgb */ color: rgb(161, 104, 178);
/* oklch */ color: oklch(60.6% 0.125 318.2);
Tailwind
colors: {
  custom: {
    50: '#be94c9',
    500: '#a168b2',
    950: '#000000',
  },
}
SCSS
$custom: #a168b2;
$custom-light: #be94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a168b2",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 286.216,
    "s": 32.456,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.12514,
    "h": 318.2
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#A168B2
secondary
#B3CAAB
accent
#C95F77
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A168B2

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

Preview Lab → · Contrast checker → · Palette generator →

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