#A138A3#A138A3

#A138A3 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.187 H 327.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A138A3
RGBrgb(161, 56, 163)
HSLhsl(299, 49%, 43%)
HSVhsv(299, 66%, 64%)
CMYKcmyk(1.2%, 65.6%, 0%, 36.1%)
CIE-LABlab(42.84, 56.70, -36.80)
CIE-LCHlch(42.84, 67.59, 327.01°)
OKLaboklab(53.15% 0.1571 -0.1018)
OKLCHoklch(53.15% 0.187 327.1)
XYZxyz(22.7226, 13.0513, 35.9656)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138A3 #3AA338
analogous
#6C38A3 #A138A3 #A3386F
triadic
#A138A3 #A3A138 #38A3A1
tetradic
#A138A3 #A36C38 #3AA338 #386FA3
square
#A138A3 #A36C38 #3AA338 #386FA3
split-complementary
#A138A3 #6FA338 #38A36C
monochromatic
#471948 #742875 #A138A3 #C254C4 #D282D4

Accessibility & contrast

On white

5.82
#A138A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A138A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138A3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138A3#FFFFFF#000000##FFFFFF
##A138A31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#A64769
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a138a3;
/* rgb */ color: rgb(161, 56, 163);
/* oklch */ color: oklch(53.2% 0.187 327.1);
Tailwind
colors: {
  custom: {
    50: '#c077bf',
    500: '#a138a3',
    950: '#000000',
  },
}
SCSS
$custom: #a138a3;
$custom-light: #c077bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a138a3",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 298.879,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.18724,
    "h": 327.1
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#A138A3
secondary
#7BBD79
accent
#D84F52
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A138A3

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

Preview Lab → · Contrast checker → · Palette generator →

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