#A13898#A13898

#A13898 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.178 H 331.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A13898
RGBrgb(161, 56, 152)
HSLhsl(305, 48%, 43%)
HSVhsv(305, 65%, 63%)
CMYKcmyk(0%, 65.2%, 5.6%, 36.9%)
CIE-LABlab(42.27, 54.81, -31.11)
CIE-LCHlch(42.27, 63.02, 330.42°)
OKLaboklab(52.55% 0.1564 -0.0854)
OKLCHoklch(52.55% 0.178 331.4)
XYZxyz(21.7796, 12.6740, 30.9989)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13898 #38A141
analogous
#7638A1 #A13898 #A13863
triadic
#A13898 #98A138 #3898A1
tetradic
#A13898 #A17638 #38A141 #3863A1
square
#A13898 #A17638 #38A141 #3863A1
split-complementary
#A13898 #63A138 #38A176
monochromatic
#461842 #74286D #A13898 #C353BA #D380CC

Accessibility & contrast

On white

5.94
#A13898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A13898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13898
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13898#FFFFFF#000000##FFFFFF
##A138981.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#A74263
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a13898;
/* rgb */ color: rgb(161, 56, 152);
/* oklch */ color: oklch(52.6% 0.178 331.4);
Tailwind
colors: {
  custom: {
    50: '#c077b6',
    500: '#a13898',
    950: '#000000',
  },
}
SCSS
$custom: #a13898;
$custom-light: #c077b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a13898",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 305.143,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.17817,
    "h": 331.4
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#A13898
secondary
#78BC7E
accent
#D85C50
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A13898

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

Preview Lab → · Contrast checker → · Palette generator →

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