#A138CA#A138CA

#A138CA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.222 H 314.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A138CA
RGBrgb(161, 56, 202)
HSLhsl(283, 58%, 51%)
HSVhsv(283, 72%, 79%)
CMYKcmyk(20.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(45.18, 64.05, -55.98)
CIE-LCHlch(45.18, 85.06, 318.85°)
OKLaboklab(55.58% 0.1555 -0.1578)
OKLCHoklch(55.58% 0.222 314.6)
XYZxyz(26.7710, 14.6706, 57.2872)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138CA #61CA38
analogous
#5838CA #A138CA #CA38AA
triadic
#A138CA #CAA138 #38CAA1
tetradic
#A138CA #CA5838 #61CA38 #38AACA
square
#A138CA #CA5838 #61CA38 #38AACA
split-complementary
#A138CA #AACA38 #38CA58
monochromatic
#551D6B #7B299B #A138CA #B868D7 #CF99E4

Accessibility & contrast

On white

5.34
#A138CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A138CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138CA#FFFFFF#000000##FFFFFF
##A138CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#316DC7
Tritanopia (blue-blind)
#9D577E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a138ca;
/* rgb */ color: rgb(161, 56, 202);
/* oklch */ color: oklch(55.6% 0.222 314.6);
Tailwind
colors: {
  custom: {
    50: '#c178db',
    500: '#a138ca',
    950: '#000000',
  },
}
SCSS
$custom: #a138ca;
$custom-light: #c178db;
$custom-dark: #000000;
JSON
{
  "hex": "#a138ca",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 283.151,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.22157,
    "h": 314.6
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#A138CA
secondary
#A1CF8E
accent
#E14772
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A138CA

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

Preview Lab → · Contrast checker → · Palette generator →

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