#A168BB#A168BB

#A168BB is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.0% C 0.135 H 314.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A168BB
RGBrgb(161, 104, 187)
HSLhsl(281, 38%, 57%)
HSVhsv(281, 44%, 73%)
CMYKcmyk(13.9%, 44.4%, 0%, 26.7%)
CIE-LABlab(53.02, 37.61, -34.85)
CIE-LCHlch(53.02, 51.27, 317.18°)
OKLaboklab(61.04% 0.095 -0.0965)
OKLCHoklch(61.04% 0.135 314.5)
XYZxyz(28.6165, 21.0662, 49.5628)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168BB #82BB68
analogous
#7868BB #A168BB #BB68AC
triadic
#A168BB #BBA168 #68BBA1
tetradic
#A168BB #BB7868 #82BB68 #68ACBB
square
#A168BB #BB7868 #82BB68 #68ACBB
split-complementary
#A168BB #ACBB68 #68BB78
monochromatic
#603474 #83479E #A168BB #BB92CE #D6BCE1

Accessibility & contrast

On white

4.03
#A168BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A168BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168BB#FFFFFF#000000##000000
##A168BB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#9F7489
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a168bb;
/* rgb */ color: rgb(161, 104, 187);
/* oklch */ color: oklch(61.0% 0.135 314.5);
Tailwind
colors: {
  custom: {
    50: '#be94d0',
    500: '#a168bb',
    950: '#000000',
  },
}
SCSS
$custom: #a168bb;
$custom-light: #be94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a168bb",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 281.205,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.13542,
    "h": 314.5
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#A168BB
secondary
#B9D0AF
accent
#CE5A7E
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A168BB

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

Preview Lab → · Contrast checker → · Palette generator →

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