#A34AB2#A34AB2

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

Color values

HEX#A34AB2
RGBrgb(163, 74, 178)
HSLhsl(291, 41%, 49%)
HSVhsv(291, 58%, 70%)
CMYKcmyk(8.4%, 58.4%, 0%, 30.2%)
CIE-LABlab(46.84, 51.98, -39.33)
CIE-LCHlch(46.84, 65.18, 322.89°)
OKLaboklab(56.38% 0.1382 -0.1092)
OKLCHoklch(56.38% 0.176 321.7)
XYZxyz(25.5880, 15.8997, 43.8320)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34AB2 #59B24A
analogous
#6F4AB2 #A34AB2 #B24A8D
triadic
#A34AB2 #B2A34A #4AB2A3
tetradic
#A34AB2 #B26F4A #59B24A #4A8DB2
square
#A34AB2 #B26F4A #59B24A #4A8DB2
split-complementary
#A34AB2 #8DB24A #4AB26F
monochromatic
#54265C #7B3887 #A34AB2 #B974C5 #CF9FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A34AB2#FFFFFF#000000##FFFFFF
##A34AB21.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)
#3669B5
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#A55977
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a34ab2;
/* rgb */ color: rgb(163, 74, 178);
/* oklch */ color: oklch(56.4% 0.176 321.7);
Tailwind
colors: {
  custom: {
    50: '#c181c9',
    500: '#a34ab2',
    950: '#000000',
  },
}
SCSS
$custom: #a34ab2;
$custom-light: #c181c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ab2",
  "rgb": {
    "r": 163,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 291.346,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.17614,
    "h": 321.7
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#A34AB2
secondary
#9BC494
accent
#D15768
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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