#A34EC2#A34EC2

#A34EC2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.186 H 316.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A34EC2
RGBrgb(163, 78, 194)
HSLhsl(284, 49%, 53%)
HSVhsv(284, 60%, 76%)
CMYKcmyk(16%, 59.8%, 0%, 23.9%)
CIE-LABlab(48.42, 53.27, -46.13)
CIE-LCHlch(48.42, 70.47, 319.10°)
OKLaboklab(57.81% 0.1338 -0.1291)
OKLCHoklch(57.81% 0.186 316)
XYZxyz(27.5648, 17.1313, 52.8831)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EC2 #6DC24E
analogous
#694EC2 #A34EC2 #C24EA7
triadic
#A34EC2 #C2A34E #4EC2A3
tetradic
#A34EC2 #C2694E #6DC24E #4EA7C2
square
#A34EC2 #C2694E #6DC24E #4EA7C2
split-complementary
#A34EC2 #A7C24E #4EC269
monochromatic
#5C266F #81369D #A34EC2 #BB7CD2 #D2A9E1

Accessibility & contrast

On white

4.74
#A34EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A34EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EC2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EC2#FFFFFF#000000##FFFFFF
##A34EC21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A16281
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a34ec2;
/* rgb */ color: rgb(163, 78, 194);
/* oklch */ color: oklch(57.8% 0.186 316.0);
Tailwind
colors: {
  custom: {
    50: '#c184d5',
    500: '#a34ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a34ec2;
$custom-light: #c184d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ec2",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 283.966,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.18591,
    "h": 316
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#A34EC2
secondary
#AACF9D
accent
#D85074
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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