#A12FDA#A12FDA

#A12FDA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.245 H 311.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A12FDA
RGBrgb(161, 47, 218)
HSLhsl(280, 70%, 52%)
HSVhsv(280, 78%, 85%)
CMYKcmyk(26.1%, 78.4%, 0%, 14.5%)
CIE-LABlab(45.18, 70.42, -65.18)
CIE-LCHlch(45.18, 95.95, 317.21°)
OKLaboklab(55.93% 0.1606 -0.1848)
OKLCHoklch(55.93% 0.245 311)
XYZxyz(28.3669, 14.6728, 67.6539)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FDA #68DA2F
analogous
#4C2FDA #A12FDA #DA2FBE
triadic
#A12FDA #DAA12F #2FDAA1
tetradic
#A12FDA #DA4C2F #68DA2F #2FBEDA
square
#A12FDA #DA4C2F #68DA2F #2FBEDA
split-complementary
#A12FDA #BEDA2F #2FDA4C
monochromatic
#581679 #7E1FAD #A12FDA #B863E3 #D097EC

Accessibility & contrast

On white

5.34
#A12FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A12FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FDA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FDA#FFFFFF#000000##FFFFFF
##A12FDA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#995A85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a12fda;
/* rgb */ color: rgb(161, 47, 218);
/* oklch */ color: oklch(55.9% 0.245 311.0);
Tailwind
colors: {
  custom: {
    50: '#c275e6',
    500: '#a12fda',
    950: '#000000',
  },
}
SCSS
$custom: #a12fda;
$custom-light: #c275e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fda",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 280,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.24483,
    "h": 311
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#A12FDA
secondary
#A6D88D
accent
#ED3B76
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A12FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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