#A34BC4#A34BC4

#A34BC4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.192 H 315.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A34BC4
RGBrgb(163, 75, 196)
HSLhsl(284, 51%, 53%)
HSVhsv(284, 62%, 77%)
CMYKcmyk(16.8%, 61.7%, 0%, 23.1%)
CIE-LABlab(48.01, 55.11, -47.95)
CIE-LCHlch(48.01, 73.05, 318.98°)
OKLaboklab(57.55% 0.1375 -0.1344)
OKLCHoklch(57.55% 0.192 315.7)
XYZxyz(27.5826, 16.8052, 54.0046)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34BC4 #6CC44B
analogous
#664BC4 #A34BC4 #C44BA9
triadic
#A34BC4 #C4A34B #4BC4A3
tetradic
#A34BC4 #C4664B #6CC44B #4BA9C4
square
#A34BC4 #C4664B #6CC44B #4BA9C4
split-complementary
#A34BC4 #A9C44B #4BC466
monochromatic
#5B2570 #81349E #A34BC4 #BB79D3 #D2A7E2

Accessibility & contrast

On white

4.82
#A34BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A34BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34BC4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34BC4#FFFFFF#000000##FFFFFF
##A34BC41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC8
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#A16181
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a34bc4;
/* rgb */ color: rgb(163, 75, 196);
/* oklch */ color: oklch(57.6% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#c182d6',
    500: '#a34bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a34bc4;
$custom-light: #c182d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34bc4",
  "rgb": {
    "r": 163,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 283.636,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.19227,
    "h": 315.7
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#A34BC4
secondary
#AACF9B
accent
#DA4E74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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