#A138BF#A138BF

#A138BF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.212 H 317.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A138BF
RGBrgb(161, 56, 191)
HSLhsl(287, 55%, 48%)
HSVhsv(287, 71%, 75%)
CMYKcmyk(15.7%, 70.7%, 0%, 25.1%)
CIE-LABlab(44.47, 61.88, -50.72)
CIE-LCHlch(44.47, 80.01, 320.66°)
OKLaboklab(54.85% 0.1566 -0.1424)
OKLCHoklch(54.85% 0.212 317.7)
XYZxyz(25.5147, 14.1681, 50.6708)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138BF #56BF38
analogous
#5D38BF #A138BF #BF3899
triadic
#A138BF #BFA138 #38BFA1
tetradic
#A138BF #BF5D38 #56BF38 #3899BF
square
#A138BF #BF5D38 #56BF38 #3899BF
split-complementary
#A138BF #99BF38 #38BF5D
monochromatic
#511C60 #792A90 #A138BF #B963D1 #CE92DF

Accessibility & contrast

On white

5.48
#A138BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A138BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138BF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138BF#FFFFFF#000000##FFFFFF
##A138BF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3D6CBC
Tritanopia (blue-blind)
#A05378
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a138bf;
/* rgb */ color: rgb(161, 56, 191);
/* oklch */ color: oklch(54.9% 0.212 317.7);
Tailwind
colors: {
  custom: {
    50: '#c178d3',
    500: '#a138bf',
    950: '#000000',
  },
}
SCSS
$custom: #a138bf;
$custom-light: #c178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a138bf",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 286.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.21168,
    "h": 317.7
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#A138BF
secondary
#97CA89
accent
#DE4A6B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A138BF

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

Preview Lab → · Contrast checker → · Palette generator →

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