#A12CDB#A12CDB

#A12CDB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.8% C 0.248 H 310.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A12CDB
RGBrgb(161, 44, 219)
HSLhsl(280, 71%, 52%)
HSVhsv(280, 80%, 86%)
CMYKcmyk(26.5%, 79.9%, 0%, 14.1%)
CIE-LABlab(44.93, 71.56, -66.15)
CIE-LCHlch(44.93, 97.45, 317.25°)
OKLaboklab(55.78% 0.1626 -0.1877)
OKLCHoklch(55.78% 0.248 310.9)
XYZxyz(28.3823, 14.4936, 68.3065)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CDB #66DB2C
analogous
#4A2CDB #A12CDB #DB2CBE
triadic
#A12CDB #DBA12C #2CDBA1
tetradic
#A12CDB #DB4A2C #66DB2C #2CBEDB
square
#A12CDB #DB4A2C #66DB2C #2CBEDB
split-complementary
#A12CDB #BEDB2C #2CDB4A
monochromatic
#571478 #7D1DAC #A12CDB #B860E4 #D095ED

Accessibility & contrast

On white

5.39
#A12CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A12CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CDB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CDB#FFFFFF#000000##FFFFFF
##A12CDB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#995985
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a12cdb;
/* rgb */ color: rgb(161, 44, 219);
/* oklch */ color: oklch(55.8% 0.248 310.9);
Tailwind
colors: {
  custom: {
    50: '#c274e7',
    500: '#a12cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a12cdb;
$custom-light: #c274e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cdb",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 280.114,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.24831,
    "h": 310.9
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#A12CDB
secondary
#A4D88B
accent
#EE3A76
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A12CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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