#A138B5#A138B5

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

Color values

HEX#A138B5
RGBrgb(161, 56, 181)
HSLhsl(290, 53%, 46%)
HSVhsv(290, 69%, 71%)
CMYKcmyk(11%, 69.1%, 0%, 29%)
CIE-LABlab(43.86, 59.97, -45.84)
CIE-LCHlch(43.86, 75.49, 322.61°)
OKLaboklab(54.22% 0.1572 -0.1282)
OKLCHoklch(54.22% 0.203 320.8)
XYZxyz(24.4516, 13.7429, 45.0718)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B5 #4CB538
analogous
#6338B5 #A138B5 #B5388B
triadic
#A138B5 #B5A138 #38B5A1
tetradic
#A138B5 #B56338 #4CB538 #388BB5
square
#A138B5 #B56338 #4CB538 #388BB5
split-complementary
#A138B5 #8BB538 #38B563
monochromatic
#4E1B58 #772A86 #A138B5 #BB5DCD #CF8CDB

Accessibility & contrast

On white

5.60
#A138B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A138B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B5#FFFFFF#000000##FFFFFF
##A138B51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B9
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#A24E72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a138b5;
/* rgb */ color: rgb(161, 56, 181);
/* oklch */ color: oklch(54.2% 0.203 320.8);
Tailwind
colors: {
  custom: {
    50: '#c078cc',
    500: '#a138b5',
    950: '#000000',
  },
}
SCSS
$custom: #a138b5;
$custom-light: #c078cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b5",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 290.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.20279,
    "h": 320.8
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#A138B5
secondary
#8EC683
accent
#DC4C63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A138B5

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

Preview Lab → · Contrast checker → · Palette generator →

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