#A138C6#A138C6

#A138C6 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.218 H 315.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A138C6
RGBrgb(161, 56, 198)
HSLhsl(284, 56%, 50%)
HSVhsv(284, 72%, 78%)
CMYKcmyk(18.7%, 71.7%, 0%, 22.4%)
CIE-LABlab(44.92, 63.25, -54.08)
CIE-LCHlch(44.92, 83.22, 319.47°)
OKLaboklab(55.31% 0.156 -0.1523)
OKLCHoklch(55.31% 0.218 315.7)
XYZxyz(26.3035, 14.4836, 54.8252)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138C6 #5DC638
analogous
#5A38C6 #A138C6 #C638A4
triadic
#A138C6 #C6A138 #38C6A1
tetradic
#A138C6 #C65A38 #5DC638 #38A4C6
square
#A138C6 #C65A38 #5DC638 #38A4C6
split-complementary
#A138C6 #A4C638 #38C65A
monochromatic
#531D67 #7A2B96 #A138C6 #B867D4 #CE97E2

Accessibility & contrast

On white

5.39
#A138C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A138C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138C6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138C6#FFFFFF#000000##FFFFFF
##A138C61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#356DC3
Tritanopia (blue-blind)
#9E567C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a138c6;
/* rgb */ color: rgb(161, 56, 198);
/* oklch */ color: oklch(55.3% 0.218 315.7);
Tailwind
colors: {
  custom: {
    50: '#c178d8',
    500: '#a138c6',
    950: '#000000',
  },
}
SCSS
$custom: #a138c6;
$custom-light: #c178d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a138c6",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 284.366,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.21797,
    "h": 315.7
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#A138C6
secondary
#9ECD8D
accent
#DF4970
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A138C6

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

Preview Lab → · Contrast checker → · Palette generator →

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