#A1308F#A1308F

#A1308F is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.182 H 335.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A1308F
RGBrgb(161, 48, 143)
HSLhsl(310, 54%, 41%)
HSVhsv(310, 70%, 63%)
CMYKcmyk(0%, 70.2%, 11.2%, 36.9%)
CIE-LABlab(40.70, 56.51, -28.12)
CIE-LCHlch(40.70, 63.12, 333.54°)
OKLaboklab(51.27% 0.1647 -0.0767)
OKLCHoklch(51.27% 0.182 335)
XYZxyz(20.7130, 11.6759, 27.1441)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1308F #30A142
analogous
#7A30A1 #A1308F #A13056
triadic
#A1308F #8FA130 #308FA1
tetradic
#A1308F #A17A30 #30A142 #3056A1
square
#A1308F #A17A30 #30A142 #3056A1
split-complementary
#A1308F #56A130 #30A17A
monochromatic
#43143B #722265 #A1308F #C846B3 #D675C7

Accessibility & contrast

On white

6.30
#A1308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A1308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1308F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1308F#FFFFFF#000000##FFFFFF
##A1308F1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#A9385B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a1308f;
/* rgb */ color: rgb(161, 48, 143);
/* oklch */ color: oklch(51.3% 0.182 335.0);
Tailwind
colors: {
  custom: {
    50: '#c072b0',
    500: '#a1308f',
    950: '#000000',
  },
}
SCSS
$custom: #a1308f;
$custom-light: #c072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1308f",
  "rgb": {
    "r": 161,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 309.558,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.18166,
    "h": 335
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#A1308F
secondary
#6FBE7B
accent
#DD624A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #A1308F

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

Preview Lab → · Contrast checker → · Palette generator →

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