#A138AA#A138AA

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

Color values

HEX#A138AA
RGBrgb(161, 56, 170)
HSLhsl(295, 50%, 44%)
HSVhsv(295, 67%, 67%)
CMYKcmyk(5.3%, 67.1%, 0%, 33.3%)
CIE-LABlab(43.23, 57.95, -40.36)
CIE-LCHlch(43.23, 70.62, 325.14°)
OKLaboklab(53.55% 0.1573 -0.1122)
OKLCHoklch(53.55% 0.193 324.5)
XYZxyz(23.3672, 13.3091, 39.3605)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138AA #41AA38
analogous
#6838AA #A138AA #AA387A
triadic
#A138AA #AAA138 #38AAA1
tetradic
#A138AA #AA6838 #41AA38 #387AAA
square
#A138AA #AA6838 #41AA38 #387AAA
split-complementary
#A138AA #7AAA38 #38AA68
monochromatic
#4A1A4E #75297C #A138AA #BF57C8 #D185D7

Accessibility & contrast

On white

5.74
#A138AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A138AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138AA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138AA#FFFFFF#000000##FFFFFF
##A138AA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#4D6AA7
Tritanopia (blue-blind)
#A44A6C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a138aa;
/* rgb */ color: rgb(161, 56, 170);
/* oklch */ color: oklch(53.6% 0.193 324.5);
Tailwind
colors: {
  custom: {
    50: '#c077c4',
    500: '#a138aa',
    950: '#000000',
  },
}
SCSS
$custom: #a138aa;
$custom-light: #c077c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a138aa",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 295.263,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.19321,
    "h": 324.5
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#A138AA
secondary
#82C17D
accent
#DA4E59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138AA

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

Preview Lab → · Contrast checker → · Palette generator →

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