#A138A2#A138A2

#A138A2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.186 H 327.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A138A2
RGBrgb(161, 56, 162)
HSLhsl(299, 49%, 43%)
HSVhsv(299, 65%, 64%)
CMYKcmyk(0.6%, 65.4%, 0%, 36.5%)
CIE-LABlab(42.79, 56.52, -36.29)
CIE-LCHlch(42.79, 67.17, 327.30°)
OKLaboklab(53.1% 0.1571 -0.1004)
OKLCHoklch(53.1% 0.186 327.4)
XYZxyz(22.6334, 13.0156, 35.4956)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138A2 #39A238
analogous
#6C38A2 #A138A2 #A2386E
triadic
#A138A2 #A2A138 #38A2A1
tetradic
#A138A2 #A26C38 #39A238 #386EA2
square
#A138A2 #A26C38 #39A238 #386EA2
split-complementary
#A138A2 #6EA238 #38A26C
monochromatic
#471947 #742875 #A138A2 #C353C4 #D381D3

Accessibility & contrast

On white

5.83
#A138A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A138A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138A2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138A2#FFFFFF#000000##FFFFFF
##A138A21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A64768
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a138a2;
/* rgb */ color: rgb(161, 56, 162);
/* oklch */ color: oklch(53.1% 0.186 327.4);
Tailwind
colors: {
  custom: {
    50: '#c077be',
    500: '#a138a2',
    950: '#000000',
  },
}
SCSS
$custom: #a138a2;
$custom-light: #c077be;
$custom-dark: #000000;
JSON
{
  "hex": "#a138a2",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 299.434,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.1864,
    "h": 327.4
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#A138A2
secondary
#79BD79
accent
#D85051
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A138A2

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

Preview Lab → · Contrast checker → · Palette generator →

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