#A138BD#A138BD

#A138BD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.210 H 318.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A138BD
RGBrgb(161, 56, 189)
HSLhsl(287, 54%, 48%)
HSVhsv(287, 70%, 74%)
CMYKcmyk(14.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(44.35, 61.50, -49.76)
CIE-LCHlch(44.35, 79.10, 321.02°)
OKLaboklab(54.72% 0.1567 -0.1396)
OKLCHoklch(54.72% 0.21 318.3)
XYZxyz(25.2962, 14.0807, 49.5196)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138BD #54BD38
analogous
#5E38BD #A138BD #BD3897
triadic
#A138BD #BDA138 #38BDA1
tetradic
#A138BD #BD5E38 #54BD38 #3897BD
square
#A138BD #BD5E38 #54BD38 #3897BD
split-complementary
#A138BD #97BD38 #38BD5E
monochromatic
#511C5F #792A8E #A138BD #B962D0 #CE91DE

Accessibility & contrast

On white

5.50
#A138BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A138BD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138BD#FFFFFF#000000##FFFFFF
##A138BD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a138bd;
/* rgb */ color: rgb(161, 56, 189);
/* oklch */ color: oklch(54.7% 0.210 318.3);
Tailwind
colors: {
  custom: {
    50: '#c178d1',
    500: '#a138bd',
    950: '#000000',
  },
}
SCSS
$custom: #a138bd;
$custom-light: #c178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a138bd",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 287.368,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.20989,
    "h": 318.3
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#A138BD
secondary
#95C987
accent
#DE4A69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A138BD

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

Preview Lab → · Contrast checker → · Palette generator →

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