#A138AF#A138AF

#A138AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 322.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A138AF
RGBrgb(161, 56, 175)
HSLhsl(293, 52%, 45%)
HSVhsv(293, 68%, 69%)
CMYKcmyk(8%, 68%, 0%, 31.4%)
CIE-LABlab(43.51, 58.86, -42.87)
CIE-LCHlch(43.51, 72.81, 323.93°)
OKLaboklab(53.85% 0.1573 -0.1195)
OKLCHoklch(53.85% 0.198 322.8)
XYZxyz(23.8492, 13.5019, 41.8991)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138AF #46AF38
analogous
#6538AF #A138AF #AF3881
triadic
#A138AF #AFA138 #38AFA1
tetradic
#A138AF #AF6538 #46AF38 #3881AF
square
#A138AF #AF6538 #46AF38 #3881AF
split-complementary
#A138AF #81AF38 #38AF65
monochromatic
#4C1A52 #762981 #A138AF #BD5ACA #D088D9

Accessibility & contrast

On white

5.68
#A138AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A138AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138AF#FFFFFF#000000##FFFFFF
##A138AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#A34C6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a138af;
/* rgb */ color: rgb(161, 56, 175);
/* oklch */ color: oklch(53.9% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#c077c7',
    500: '#a138af',
    950: '#000000',
  },
}
SCSS
$custom: #a138af;
$custom-light: #c077c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a138af",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 292.941,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.19754,
    "h": 322.8
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#A138AF
secondary
#88C380
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A138AF

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

Preview Lab → · Contrast checker → · Palette generator →

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