#A34CAB#A34CAB

#A34CAB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.166 H 324.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A34CAB
RGBrgb(163, 76, 171)
HSLhsl(295, 38%, 48%)
HSVhsv(295, 56%, 67%)
CMYKcmyk(4.7%, 55.6%, 0%, 32.9%)
CIE-LABlab(46.84, 49.67, -35.22)
CIE-LCHlch(46.84, 60.89, 324.66°)
OKLaboklab(56.26% 0.1349 -0.0974)
OKLCHoklch(56.26% 0.166 324.2)
XYZxyz(25.0387, 15.8970, 40.2697)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34CAB #54AB4C
analogous
#734CAB #A34CAB #AB4C83
triadic
#A34CAB #ABA34C #4CABA3
tetradic
#A34CAB #AB734C #54AB4C #4C83AB
square
#A34CAB #AB734C #54AB4C #4C83AB
split-complementary
#A34CAB #83AB4C #4CAB73
monochromatic
#522656 #7B3981 #A34CAB #BA73C1 #CF9ED4

Accessibility & contrast

On white

5.02
#A34CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A34CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34CAB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34CAB#FFFFFF#000000##FFFFFF
##A34CAB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#A65874
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a34cab;
/* rgb */ color: rgb(163, 76, 171);
/* oklch */ color: oklch(56.3% 0.166 324.2);
Tailwind
colors: {
  custom: {
    50: '#c182c4',
    500: '#a34cab',
    950: '#000000',
  },
}
SCSS
$custom: #a34cab;
$custom-light: #c182c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a34cab",
  "rgb": {
    "r": 163,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 294.947,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56258,
    "c": 0.16638,
    "h": 324.2
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#A34CAB
secondary
#96C092
accent
#CE5963
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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