#A34AC2#A34AC2

#A34AC2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.192 H 316.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A34AC2
RGBrgb(163, 74, 194)
HSLhsl(285, 50%, 53%)
HSVhsv(285, 62%, 76%)
CMYKcmyk(16%, 61.9%, 0%, 23.9%)
CIE-LABlab(47.73, 55.17, -47.25)
CIE-LCHlch(47.73, 72.64, 319.42°)
OKLaboklab(57.31% 0.1387 -0.1323)
OKLCHoklch(57.31% 0.192 316.4)
XYZxyz(27.2892, 16.5801, 52.7913)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34AC2 #69C24A
analogous
#674AC2 #A34AC2 #C24AA5
triadic
#A34AC2 #C2A34A #4AC2A3
tetradic
#A34AC2 #C2674A #69C24A #4AA5C2
square
#A34AC2 #C2674A #69C24A #4AA5C2
split-complementary
#A34AC2 #A5C24A #4AC267
monochromatic
#5A256D #80349B #A34AC2 #BA78D1 #D2A6E1

Accessibility & contrast

On white

4.87
#A34AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A34AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34AC2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34AC2#FFFFFF#000000##FFFFFF
##A34AC21.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A15F7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a34ac2;
/* rgb */ color: rgb(163, 74, 194);
/* oklch */ color: oklch(57.3% 0.192 316.4);
Tailwind
colors: {
  custom: {
    50: '#c182d5',
    500: '#a34ac2',
    950: '#000000',
  },
}
SCSS
$custom: #a34ac2;
$custom-light: #c182d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ac2",
  "rgb": {
    "r": 163,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 284.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57307,
    "c": 0.19171,
    "h": 316.4
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#A34AC2
secondary
#A7CE9A
accent
#D94F72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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