#A138C2#A138C2

#A138C2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.214 H 316.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A138C2
RGBrgb(161, 56, 194)
HSLhsl(286, 55%, 49%)
HSVhsv(286, 71%, 76%)
CMYKcmyk(17%, 71.1%, 0%, 23.9%)
CIE-LABlab(44.66, 62.47, -52.17)
CIE-LCHlch(44.66, 81.39, 320.13°)
OKLaboklab(55.05% 0.1563 -0.1467)
OKLCHoklch(55.05% 0.214 316.8)
XYZxyz(25.8483, 14.3015, 52.4274)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138C2 #59C238
analogous
#5C38C2 #A138C2 #C2389E
triadic
#A138C2 #C2A138 #38C2A1
tetradic
#A138C2 #C25C38 #59C238 #389EC2
square
#A138C2 #C25C38 #59C238 #389EC2
split-complementary
#A138C2 #9EC238 #38C25C
monochromatic
#521D63 #7A2A93 #A138C2 #B865D2 #CE94E0

Accessibility & contrast

On white

5.44
#A138C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A138C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138C2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138C2#FFFFFF#000000##FFFFFF
##A138C21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#9F547A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a138c2;
/* rgb */ color: rgb(161, 56, 194);
/* oklch */ color: oklch(55.0% 0.214 316.8);
Tailwind
colors: {
  custom: {
    50: '#c178d5',
    500: '#a138c2',
    950: '#000000',
  },
}
SCSS
$custom: #a138c2;
$custom-light: #c178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a138c2",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 285.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.21436,
    "h": 316.8
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#A138C2
secondary
#9ACB8A
accent
#DF496D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A138C2

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

Preview Lab → · Contrast checker → · Palette generator →

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