#A12BC0#A12BC0

#A12BC0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.226 H 318.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A12BC0
RGBrgb(161, 43, 192)
HSLhsl(288, 63%, 46%)
HSVhsv(288, 78%, 75%)
CMYKcmyk(16.1%, 77.6%, 0%, 24.7%)
CIE-LABlab(42.93, 66.66, -53.79)
CIE-LCHlch(42.93, 85.66, 321.10°)
OKLaboklab(53.78% 0.1684 -0.1513)
OKLCHoklch(53.78% 0.226 318.1)
XYZxyz(25.0749, 13.1118, 51.0690)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BC0 #4AC02B
analogous
#562BC0 #A12BC0 #C02B94
triadic
#A12BC0 #C0A12B #2BC0A1
tetradic
#A12BC0 #C0562B #4AC02B #2B94C0
square
#A12BC0 #C0562B #4AC02B #2B94C0
split-complementary
#A12BC0 #94C02B #2BC056
monochromatic
#4D155C #77208E #A12BC0 #BC50D8 #CF82E3

Accessibility & contrast

On white

5.80
#A12BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A12BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BC0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BC0#FFFFFF#000000##FFFFFF
##A12BC01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#A04C75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12bc0;
/* rgb */ color: rgb(161, 43, 192);
/* oklch */ color: oklch(53.8% 0.226 318.1);
Tailwind
colors: {
  custom: {
    50: '#c172d4',
    500: '#a12bc0',
    950: '#000000',
  },
}
SCSS
$custom: #a12bc0;
$custom-light: #c172d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bc0",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 287.517,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.2264,
    "h": 318.1
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#A12BC0
secondary
#8CCC7B
accent
#E64164
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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