#A138B8#A138B8

#A138B8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.205 H 319.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A138B8
RGBrgb(161, 56, 184)
HSLhsl(289, 53%, 47%)
HSVhsv(289, 70%, 72%)
CMYKcmyk(12.5%, 69.6%, 0%, 27.8%)
CIE-LABlab(44.04, 60.54, -47.32)
CIE-LCHlch(44.04, 76.84, 321.99°)
OKLaboklab(54.4% 0.157 -0.1325)
OKLCHoklch(54.4% 0.205 319.8)
XYZxyz(24.7628, 13.8673, 46.7104)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B8 #4FB838
analogous
#6138B8 #A138B8 #B8388F
triadic
#A138B8 #B8A138 #38B8A1
tetradic
#A138B8 #B86138 #4FB838 #388FB8
square
#A138B8 #B86138 #4FB838 #388FB8
split-complementary
#A138B8 #8FB838 #38B861
monochromatic
#4F1B5A #782A89 #A138B8 #BA5FCE #CE8EDD

Accessibility & contrast

On white

5.57
#A138B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A138B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B8#FFFFFF#000000##FFFFFF
##A138B81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#A15074
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a138b8;
/* rgb */ color: rgb(161, 56, 184);
/* oklch */ color: oklch(54.4% 0.205 319.8);
Tailwind
colors: {
  custom: {
    50: '#c078ce',
    500: '#a138b8',
    950: '#000000',
  },
}
SCSS
$custom: #a138b8;
$custom-light: #c078ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b8",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 289.219,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.20544,
    "h": 319.8
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#A138B8
secondary
#91C785
accent
#DD4B65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A138B8

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

Preview Lab → · Contrast checker → · Palette generator →

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