#A12FC1#A12FC1

#A12FC1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.223 H 317.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A12FC1
RGBrgb(161, 47, 193)
HSLhsl(287, 61%, 47%)
HSVhsv(287, 76%, 76%)
CMYKcmyk(16.6%, 75.6%, 0%, 24.3%)
CIE-LABlab(43.45, 65.55, -53.53)
CIE-LCHlch(43.45, 84.63, 320.76°)
OKLaboklab(54.16% 0.1649 -0.1506)
OKLCHoklch(54.16% 0.223 317.6)
XYZxyz(25.3387, 13.4615, 51.7054)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FC1 #4FC12F
analogous
#582FC1 #A12FC1 #C12F98
triadic
#A12FC1 #C1A12F #2FC1A1
tetradic
#A12FC1 #C1582F #4FC12F #2F98C1
square
#A12FC1 #C1582F #4FC12F #2F98C1
split-complementary
#A12FC1 #98C12F #2FC158
monochromatic
#4F175F #782390 #A12FC1 #BA57D6 #CE88E2

Accessibility & contrast

On white

5.69
#A12FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A12FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FC1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FC1#FFFFFF#000000##FFFFFF
##A12FC11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#A04F77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a12fc1;
/* rgb */ color: rgb(161, 47, 193);
/* oklch */ color: oklch(54.2% 0.223 317.6);
Tailwind
colors: {
  custom: {
    50: '#c174d4',
    500: '#a12fc1',
    950: '#000000',
  },
}
SCSS
$custom: #a12fc1;
$custom-light: #c174d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fc1",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 286.849,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.22332,
    "h": 317.6
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#A12FC1
secondary
#91CC80
accent
#E44467
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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