#A12FD8#A12FD8

#A12FD8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.8% C 0.243 H 311.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A12FD8
RGBrgb(161, 47, 216)
HSLhsl(280, 68%, 52%)
HSVhsv(280, 78%, 85%)
CMYKcmyk(25.5%, 78.2%, 0%, 15.3%)
CIE-LABlab(45.04, 70.02, -64.27)
CIE-LCHlch(45.04, 95.04, 317.45°)
OKLaboklab(55.78% 0.161 -0.1821)
OKLCHoklch(55.78% 0.243 311.5)
XYZxyz(28.1068, 14.5687, 66.2839)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FD8 #66D82F
analogous
#4D2FD8 #A12FD8 #D82FBB
triadic
#A12FD8 #D8A12F #2FD8A1
tetradic
#A12FD8 #D84D2F #66D82F #2FBBD8
square
#A12FD8 #D84D2F #66D82F #2FBBD8
split-complementary
#A12FD8 #BBD82F #2FD84D
monochromatic
#571676 #7D20AA #A12FD8 #B863E2 #D096EB

Accessibility & contrast

On white

5.37
#A12FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A12FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FD8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FD8#FFFFFF#000000##FFFFFF
##A12FD81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#9A5984
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a12fd8;
/* rgb */ color: rgb(161, 47, 216);
/* oklch */ color: oklch(55.8% 0.243 311.5);
Tailwind
colors: {
  custom: {
    50: '#c275e5',
    500: '#a12fd8',
    950: '#000000',
  },
}
SCSS
$custom: #a12fd8;
$custom-light: #c275e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fd8",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 280.473,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.2431,
    "h": 311.5
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#A12FD8
secondary
#A4D78C
accent
#EB3D75
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A12FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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