#A138AB#A138AB

#A138AB is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.194 H 324.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A138AB
RGBrgb(161, 56, 171)
HSLhsl(295, 51%, 45%)
HSVhsv(295, 67%, 67%)
CMYKcmyk(5.8%, 67.3%, 0%, 32.9%)
CIE-LABlab(43.28, 58.13, -40.86)
CIE-LCHlch(43.28, 71.05, 324.89°)
OKLaboklab(53.61% 0.1573 -0.1136)
OKLCHoklch(53.61% 0.194 324.2)
XYZxyz(23.4622, 13.3471, 39.8606)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138AB #42AB38
analogous
#6838AB #A138AB #AB387B
triadic
#A138AB #ABA138 #38ABA1
tetradic
#A138AB #AB6838 #42AB38 #387BAB
square
#A138AB #AB6838 #42AB38 #387BAB
split-complementary
#A138AB #7BAB38 #38AB68
monochromatic
#4A1A4F #76297D #A138AB #BF58C8 #D086D7

Accessibility & contrast

On white

5.72
#A138AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A138AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138AB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138AB#FFFFFF#000000##FFFFFF
##A138AB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#4C6BA8
Tritanopia (blue-blind)
#A44A6D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a138ab;
/* rgb */ color: rgb(161, 56, 171);
/* oklch */ color: oklch(53.6% 0.194 324.2);
Tailwind
colors: {
  custom: {
    50: '#c077c4',
    500: '#a138ab',
    950: '#000000',
  },
}
SCSS
$custom: #a138ab;
$custom-light: #c077c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a138ab",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 294.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.19407,
    "h": 324.2
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#A138AB
secondary
#83C17D
accent
#DA4E5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138AB

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

Preview Lab → · Contrast checker → · Palette generator →

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