#A138B1#A138B1

#A138B1 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.199 H 322.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A138B1
RGBrgb(161, 56, 177)
HSLhsl(292, 52%, 46%)
HSVhsv(292, 68%, 69%)
CMYKcmyk(9%, 68.4%, 0%, 30.6%)
CIE-LABlab(43.63, 59.23, -43.86)
CIE-LCHlch(43.63, 73.70, 323.48°)
OKLaboklab(53.97% 0.1573 -0.1224)
OKLCHoklch(53.97% 0.199 322.1)
XYZxyz(24.0471, 13.5810, 42.9412)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B1 #48B138
analogous
#6438B1 #A138B1 #B13884
triadic
#A138B1 #B1A138 #38B1A1
tetradic
#A138B1 #B16438 #48B138 #3884B1
square
#A138B1 #B16438 #48B138 #3884B1
split-complementary
#A138B1 #84B138 #38B164
monochromatic
#4C1B54 #772983 #A138B1 #BC5BCB #CF8ADA

Accessibility & contrast

On white

5.65
#A138B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A138B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B1#FFFFFF#000000##FFFFFF
##A138B11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#A34D70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a138b1;
/* rgb */ color: rgb(161, 56, 177);
/* oklch */ color: oklch(54.0% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#c077c9',
    500: '#a138b1',
    950: '#000000',
  },
}
SCSS
$custom: #a138b1;
$custom-light: #c077c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b1",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 292.066,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.19928,
    "h": 322.1
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#A138B1
secondary
#8AC481
accent
#DB4C5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138B1

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

Preview Lab → · Contrast checker → · Palette generator →

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