#A138B2#A138B2

#A138B2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.200 H 321.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A138B2
RGBrgb(161, 56, 178)
HSLhsl(292, 52%, 46%)
HSVhsv(292, 69%, 70%)
CMYKcmyk(9.6%, 68.5%, 0%, 30.2%)
CIE-LABlab(43.68, 59.41, -44.36)
CIE-LCHlch(43.68, 74.15, 323.25°)
OKLaboklab(54.03% 0.1573 -0.1238)
OKLCHoklch(54.03% 0.2 321.8)
XYZxyz(24.1471, 13.6211, 43.4681)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138B2 #49B238
analogous
#6438B2 #A138B2 #B23886
triadic
#A138B2 #B2A138 #38B2A1
tetradic
#A138B2 #B26438 #49B238 #3886B2
square
#A138B2 #B26438 #49B238 #3886B2
split-complementary
#A138B2 #86B238 #38B264
monochromatic
#4D1B55 #772983 #A138B2 #BC5CCC #CF8ADA

Accessibility & contrast

On white

5.64
#A138B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A138B2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138B2#FFFFFF#000000##FFFFFF
##A138B21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A34D71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a138b2;
/* rgb */ color: rgb(161, 56, 178);
/* oklch */ color: oklch(54.0% 0.200 321.8);
Tailwind
colors: {
  custom: {
    50: '#c077c9',
    500: '#a138b2',
    950: '#000000',
  },
}
SCSS
$custom: #a138b2;
$custom-light: #c077c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a138b2",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 291.639,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.20016,
    "h": 321.8
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#A138B2
secondary
#8BC581
accent
#DC4C60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138B2

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

Preview Lab → · Contrast checker → · Palette generator →

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