#A126CA#A126CA

#A126CA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.1% C 0.239 H 315.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A126CA
RGBrgb(161, 38, 202)
HSLhsl(285, 68%, 47%)
HSVhsv(285, 81%, 79%)
CMYKcmyk(20.3%, 81.2%, 0%, 20.8%)
CIE-LABlab(43.11, 70.02, -59.33)
CIE-LCHlch(43.11, 91.77, 319.72°)
OKLaboklab(54.12% 0.1705 -0.1676)
OKLCHoklch(54.12% 0.239 315.5)
XYZxyz(26.0500, 13.2286, 57.0468)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126CA #4FCA26
analogous
#4F26CA #A126CA #CA26A1
triadic
#A126CA #CAA126 #26CAA1
tetradic
#A126CA #CA4F26 #4FCA26 #26A1CA
square
#A126CA #CA4F26 #4FCA26 #26A1CA
split-complementary
#A126CA #A1CA26 #26CA4F
monochromatic
#4F1363 #781C96 #A126CA #BA4FDE #CE83E8

Accessibility & contrast

On white

5.76
#A126CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A126CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126CA#FFFFFF#000000##FFFFFF
##A126CA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1E69C7
Tritanopia (blue-blind)
#9E4F7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a126ca;
/* rgb */ color: rgb(161, 38, 202);
/* oklch */ color: oklch(54.1% 0.239 315.5);
Tailwind
colors: {
  custom: {
    50: '#c271db',
    500: '#a126ca',
    950: '#000000',
  },
}
SCSS
$custom: #a126ca;
$custom-light: #c271db;
$custom-dark: #000000;
JSON
{
  "hex": "#a126ca",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 285,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.23904,
    "h": 315.5
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#A126CA
secondary
#91D17B
accent
#EB3D68
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A126CA

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

Preview Lab → · Contrast checker → · Palette generator →

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