#A138B4#A138B4

#A138B4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.202 H 321.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A138B4
RGBrgb(161, 56, 180)
HSLhsl(291, 53%, 46%)
HSVhsv(291, 69%, 71%)
CMYKcmyk(10.6%, 68.9%, 0%, 29.4%)
CIE-LABlab(43.80, 59.79, -45.35)
CIE-LCHlch(43.80, 75.04, 322.82°)
OKLaboklab(54.16% 0.1572 -0.1267)
OKLCHoklch(54.16% 0.202 321.1)
XYZxyz(24.3494, 13.7020, 44.5333)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B4 #4BB438
analogous
#6338B4 #A138B4 #B43889
triadic
#A138B4 #B4A138 #38B4A1
tetradic
#A138B4 #B46338 #4BB438 #3889B4
square
#A138B4 #B46338 #4BB438 #3889B4
split-complementary
#A138B4 #89B438 #38B463
monochromatic
#4D1B57 #772985 #A138B4 #BB5DCD #CF8BDB

Accessibility & contrast

On white

5.61
#A138B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A138B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B4#FFFFFF#000000##FFFFFF
##A138B41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#A24E72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a138b4;
/* rgb */ color: rgb(161, 56, 180);
/* oklch */ color: oklch(54.2% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#c077cb',
    500: '#a138b4',
    950: '#000000',
  },
}
SCSS
$custom: #a138b4;
$custom-light: #c077cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b4",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 290.806,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.20192,
    "h": 321.1
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#A138B4
secondary
#8DC582
accent
#DC4C62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138B4

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

Preview Lab → · Contrast checker → · Palette generator →

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