#A12895#A12895

#A12895 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.195 H 332.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A12895
RGBrgb(161, 40, 149)
HSLhsl(306, 60%, 39%)
HSVhsv(306, 75%, 63%)
CMYKcmyk(0%, 75.2%, 7.5%, 36.9%)
CIE-LABlab(40.03, 60.21, -32.82)
CIE-LCHlch(40.03, 68.58, 331.40°)
OKLaboklab(50.88% 0.1732 -0.0902)
OKLCHoklch(50.88% 0.195 332.5)
XYZxyz(20.8816, 11.2663, 29.5028)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12895 #28A134
analogous
#7028A1 #A12895 #A12859
triadic
#A12895 #95A128 #2895A1
tetradic
#A12895 #A17028 #28A134 #2859A1
square
#A12895 #A17028 #28A134 #2859A1
split-complementary
#A12895 #59A128 #28A170
monochromatic
#3F103A #701C68 #A12895 #CE39BF #DA6ACF

Accessibility & contrast

On white

6.46
#A12895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12895
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12895#FFFFFF#000000##FFFFFF
##A128951.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A8355C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12895;
/* rgb */ color: rgb(161, 40, 149);
/* oklch */ color: oklch(50.9% 0.195 332.5);
Tailwind
colors: {
  custom: {
    50: '#c06fb4',
    500: '#a12895',
    950: '#000000',
  },
}
SCSS
$custom: #a12895;
$custom-light: #c06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12895",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 305.95,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.19532,
    "h": 332.5
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#A12895
secondary
#65C06E
accent
#E35444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12895

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

Preview Lab → · Contrast checker → · Palette generator →

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