#A138B9#A138B9

#A138B9 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.206 H 319.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A138B9
RGBrgb(161, 56, 185)
HSLhsl(289, 54%, 47%)
HSVhsv(289, 70%, 73%)
CMYKcmyk(13%, 69.7%, 0%, 27.5%)
CIE-LABlab(44.10, 60.73, -47.81)
CIE-LCHlch(44.10, 77.29, 321.79°)
OKLaboklab(54.47% 0.157 -0.1339)
OKLCHoklch(54.47% 0.206 319.5)
XYZxyz(24.8680, 13.9094, 47.2644)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B9 #50B938
analogous
#6038B9 #A138B9 #B93891
triadic
#A138B9 #B9A138 #38B9A1
tetradic
#A138B9 #B96038 #50B938 #3891B9
square
#A138B9 #B96038 #50B938 #3891B9
split-complementary
#A138B9 #91B938 #38B960
monochromatic
#4F1C5B #782A8A #A138B9 #BA5FCF #CE8EDD

Accessibility & contrast

On white

5.55
#A138B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A138B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138B9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B9#FFFFFF#000000##FFFFFF
##A138B91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#426CB6
Tritanopia (blue-blind)
#A15075
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a138b9;
/* rgb */ color: rgb(161, 56, 185);
/* oklch */ color: oklch(54.5% 0.206 319.5);
Tailwind
colors: {
  custom: {
    50: '#c078cf',
    500: '#a138b9',
    950: '#000000',
  },
}
SCSS
$custom: #a138b9;
$custom-light: #c078cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b9",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 288.837,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.20633,
    "h": 319.5
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#A138B9
secondary
#92C885
accent
#DD4B66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A138B9

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

Preview Lab → · Contrast checker → · Palette generator →

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