#A138BC#A138BC

#A138BC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.209 H 318.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A138BC
RGBrgb(161, 56, 188)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 70%, 74%)
CMYKcmyk(14.4%, 70.2%, 0%, 26.3%)
CIE-LABlab(44.29, 61.30, -49.27)
CIE-LCHlch(44.29, 78.65, 321.21°)
OKLaboklab(54.66% 0.1568 -0.1382)
OKLCHoklch(54.66% 0.209 318.6)
XYZxyz(25.1880, 14.0374, 48.9499)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138BC #53BC38
analogous
#5F38BC #A138BC #BC3895
triadic
#A138BC #BCA138 #38BCA1
tetradic
#A138BC #BC5F38 #53BC38 #3895BC
square
#A138BC #BC5F38 #53BC38 #3895BC
split-complementary
#A138BC #95BC38 #38BC5F
monochromatic
#501C5E #792A8D #A138BC #B961D0 #CE90DE

Accessibility & contrast

On white

5.52
#A138BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A138BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138BC#FFFFFF#000000##FFFFFF
##A138BC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#A15176
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a138bc;
/* rgb */ color: rgb(161, 56, 188);
/* oklch */ color: oklch(54.7% 0.209 318.6);
Tailwind
colors: {
  custom: {
    50: '#c178d1',
    500: '#a138bc',
    950: '#000000',
  },
}
SCSS
$custom: #a138bc;
$custom-light: #c178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a138bc",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 287.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.209,
    "h": 318.6
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#A138BC
secondary
#94C987
accent
#DD4A68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A138BC

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

Preview Lab → · Contrast checker → · Palette generator →

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