#A12FAF#A12FAF

#A12FAF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.208 H 323.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A12FAF
RGBrgb(161, 47, 175)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 73%, 69%)
CMYKcmyk(8%, 73.1%, 0%, 31.4%)
CIE-LABlab(42.32, 62.23, -44.77)
CIE-LCHlch(42.32, 76.66, 324.27°)
OKLaboklab(53% 0.1665 -0.125)
OKLCHoklch(53% 0.208 323.1)
XYZxyz(23.4516, 12.7066, 41.7665)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FAF #3DAF2F
analogous
#612FAF #A12FAF #AF2F7D
triadic
#A12FAF #AFA12F #2FAFA1
tetradic
#A12FAF #AF612F #3DAF2F #2F7DAF
square
#A12FAF #AF612F #3DAF2F #2F7DAF
split-complementary
#A12FAF #7DAF2F #2FAF61
monochromatic
#48154F #75227F #A12FAF #C14CCF #D17CDC

Accessibility & contrast

On white

5.93
#A12FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FAF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FAF#FFFFFF#000000##FFFFFF
##A12FAF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#A3466D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12faf;
/* rgb */ color: rgb(161, 47, 175);
/* oklch */ color: oklch(53.0% 0.208 323.1);
Tailwind
colors: {
  custom: {
    50: '#c173c7',
    500: '#a12faf',
    950: '#000000',
  },
}
SCSS
$custom: #a12faf;
$custom-light: #c173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12faf",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 293.438,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.20818,
    "h": 323.1
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#A12FAF
secondary
#7EC475
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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