#A1268E#A1268E

#A1268E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 335.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A1268E
RGBrgb(161, 38, 142)
HSLhsl(309, 62%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 76.4%, 11.8%, 36.9%)
CIE-LABlab(39.44, 59.77, -29.48)
CIE-LCHlch(39.44, 66.64, 333.75°)
OKLaboklab(50.35% 0.1747 -0.0806)
OKLCHoklch(50.35% 0.192 335.2)
XYZxyz(20.2738, 10.9181, 26.6256)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1268E #26A139
analogous
#7726A1 #A1268E #A12651
triadic
#A1268E #8EA126 #268EA1
tetradic
#A1268E #A17726 #26A139 #2651A1
square
#A1268E #A17726 #26A139 #2651A1
split-complementary
#A1268E #51A126 #26A177
monochromatic
#3E0F37 #6F1A62 #A1268E #CF35B7 #DB66C9

Accessibility & contrast

On white

6.60
#A1268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A1268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1268E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1268E#FFFFFF#000000##FFFFFF
##A1268E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#A93058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1268e;
/* rgb */ color: rgb(161, 38, 142);
/* oklch */ color: oklch(50.3% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16eaf',
    500: '#a1268e',
    950: '#000000',
  },
}
SCSS
$custom: #a1268e;
$custom-light: #c16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1268e",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 309.268,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.19234,
    "h": 335.2
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#A1268E
secondary
#62C171
accent
#E55C43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1268E

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

Preview Lab → · Contrast checker → · Palette generator →

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