#A138AC#A138AC

#A138AC is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.195 H 323.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A138AC
RGBrgb(161, 56, 172)
HSLhsl(294, 51%, 45%)
HSVhsv(294, 67%, 67%)
CMYKcmyk(6.4%, 67.4%, 0%, 32.5%)
CIE-LABlab(43.34, 58.31, -41.37)
CIE-LCHlch(43.34, 71.49, 324.65°)
OKLaboklab(53.67% 0.1573 -0.1151)
OKLCHoklch(53.67% 0.195 323.8)
XYZxyz(23.5578, 13.3853, 40.3645)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138AC #43AC38
analogous
#6738AC #A138AC #AC387D
triadic
#A138AC #ACA138 #38ACA1
tetradic
#A138AC #AC6738 #43AC38 #387DAC
square
#A138AC #AC6738 #43AC38 #387DAC
split-complementary
#A138AC #7DAC38 #38AC67
monochromatic
#4B1A50 #76297E #A138AC #BE58C9 #D087D8

Accessibility & contrast

On white

5.71
#A138AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A138AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138AC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138AC#FFFFFF#000000##FFFFFF
##A138AC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#4B6BA9
Tritanopia (blue-blind)
#A44B6D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a138ac;
/* rgb */ color: rgb(161, 56, 172);
/* oklch */ color: oklch(53.7% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#c077c5',
    500: '#a138ac',
    950: '#000000',
  },
}
SCSS
$custom: #a138ac;
$custom-light: #c077c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a138ac",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 294.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.19493,
    "h": 323.8
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#A138AC
secondary
#84C27E
accent
#DA4D5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138AC

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

Preview Lab → · Contrast checker → · Palette generator →

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