#A12FC3#A12FC3

#A12FC3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.225 H 317.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A12FC3
RGBrgb(161, 47, 195)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(17.4%, 75.9%, 0%, 23.5%)
CIE-LABlab(43.58, 65.93, -54.49)
CIE-LCHlch(43.58, 85.53, 320.43°)
OKLaboklab(54.3% 0.1646 -0.1534)
OKLCHoklch(54.3% 0.225 317)
XYZxyz(25.5633, 13.5513, 52.8883)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FC3 #51C32F
analogous
#572FC3 #A12FC3 #C32F9B
triadic
#A12FC3 #C3A12F #2FC3A1
tetradic
#A12FC3 #C3572F #51C32F #2F9BC3
square
#A12FC3 #C3572F #51C32F #2F9BC3
split-complementary
#A12FC3 #9BC32F #2FC357
monochromatic
#501760 #782392 #A12FC3 #BA58D7 #CE8AE3

Accessibility & contrast

On white

5.66
#A12FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A12FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FC3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FC3#FFFFFF#000000##FFFFFF
##A12FC31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#9F4F78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a12fc3;
/* rgb */ color: rgb(161, 47, 195);
/* oklch */ color: oklch(54.3% 0.225 317.0);
Tailwind
colors: {
  custom: {
    50: '#c174d6',
    500: '#a12fc3',
    950: '#000000',
  },
}
SCSS
$custom: #a12fc3;
$custom-light: #c174d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fc3",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 286.216,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.22502,
    "h": 317
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#A12FC3
secondary
#93CD81
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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