#A138B7#A138B7

#A138B7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.205 H 320.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A138B7
RGBrgb(161, 56, 183)
HSLhsl(290, 53%, 47%)
HSVhsv(290, 69%, 72%)
CMYKcmyk(12%, 69.4%, 0%, 28.2%)
CIE-LABlab(43.98, 60.35, -46.83)
CIE-LCHlch(43.98, 76.39, 322.19°)
OKLaboklab(54.34% 0.1571 -0.131)
OKLCHoklch(54.34% 0.205 320.2)
XYZxyz(24.6583, 13.8255, 46.1603)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B7 #4EB738
analogous
#6138B7 #A138B7 #B7388E
triadic
#A138B7 #B7A138 #38B7A1
tetradic
#A138B7 #B76138 #4EB738 #388EB7
square
#A138B7 #B76138 #4EB738 #388EB7
split-complementary
#A138B7 #8EB738 #38B761
monochromatic
#4F1B59 #782A88 #A138B7 #BB5ECE #CF8DDC

Accessibility & contrast

On white

5.58
#A138B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A138B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B7#FFFFFF#000000##FFFFFF
##A138B71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#A24F73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a138b7;
/* rgb */ color: rgb(161, 56, 183);
/* oklch */ color: oklch(54.3% 0.205 320.2);
Tailwind
colors: {
  custom: {
    50: '#c078cd',
    500: '#a138b7',
    950: '#000000',
  },
}
SCSS
$custom: #a138b7;
$custom-light: #c078cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b7",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 289.606,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.20456,
    "h": 320.2
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#A138B7
secondary
#90C784
accent
#DD4B64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A138B7

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

Preview Lab → · Contrast checker → · Palette generator →

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