#A1338F#A1338F

#A1338F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.178 H 335.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A1338F
RGBrgb(161, 51, 143)
HSLhsl(310, 52%, 42%)
HSVhsv(310, 68%, 63%)
CMYKcmyk(0%, 68.3%, 11.2%, 36.9%)
CIE-LABlab(41.10, 55.36, -27.48)
CIE-LCHlch(41.10, 61.81, 333.60°)
OKLaboklab(51.56% 0.1613 -0.0749)
OKLCHoklch(51.56% 0.178 335.1)
XYZxyz(20.8399, 11.9296, 27.1863)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1338F #33A145
analogous
#7C33A1 #A1338F #A13358
triadic
#A1338F #8FA133 #338FA1
tetradic
#A1338F #A17C33 #33A145 #3358A1
square
#A1338F #A17C33 #33A145 #3358A1
split-complementary
#A1338F #58A133 #33A17C
monochromatic
#44163C #732466 #A1338F #C64BB2 #D57AC6

Accessibility & contrast

On white

6.20
#A1338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A1338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1338F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1338F#FFFFFF#000000##FFFFFF
##A1338F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#A93B5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a1338f;
/* rgb */ color: rgb(161, 51, 143);
/* oklch */ color: oklch(51.6% 0.178 335.1);
Tailwind
colors: {
  custom: {
    50: '#c074b0',
    500: '#a1338f',
    950: '#000000',
  },
}
SCSS
$custom: #a1338f;
$custom-light: #c074b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1338f",
  "rgb": {
    "r": 161,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 309.818,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.17784,
    "h": 335.1
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#A1338F
secondary
#72BD7F
accent
#DB644C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A1338F

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

Preview Lab → · Contrast checker → · Palette generator →

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