#A138BE#A138BE

#A138BE is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.211 H 318.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A138BE
RGBrgb(161, 56, 190)
HSLhsl(287, 54%, 48%)
HSVhsv(287, 71%, 75%)
CMYKcmyk(15.3%, 70.5%, 0%, 25.5%)
CIE-LABlab(44.41, 61.69, -50.24)
CIE-LCHlch(44.41, 79.56, 320.84°)
OKLaboklab(54.79% 0.1567 -0.141)
OKLCHoklch(54.79% 0.211 318)
XYZxyz(25.4051, 14.1242, 50.0933)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138BE #55BE38
analogous
#5E38BE #A138BE #BE3898
triadic
#A138BE #BEA138 #38BEA1
tetradic
#A138BE #BE5E38 #55BE38 #3898BE
square
#A138BE #BE5E38 #55BE38 #3898BE
split-complementary
#A138BE #98BE38 #38BE5E
monochromatic
#511C5F #792A8F #A138BE #B962D1 #CE92DF

Accessibility & contrast

On white

5.49
#A138BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A138BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138BE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138BE#FFFFFF#000000##FFFFFF
##A138BE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#3E6CBB
Tritanopia (blue-blind)
#A05277
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a138be;
/* rgb */ color: rgb(161, 56, 190);
/* oklch */ color: oklch(54.8% 0.211 318.0);
Tailwind
colors: {
  custom: {
    50: '#c178d2',
    500: '#a138be',
    950: '#000000',
  },
}
SCSS
$custom: #a138be;
$custom-light: #c178d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a138be",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 287.015,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.21078,
    "h": 318
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#A138BE
secondary
#96CA88
accent
#DE4A6A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A138BE

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

Preview Lab → · Contrast checker → · Palette generator →

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