#A34FC4#A34FC4

#A34FC4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.186 H 315.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A34FC4
RGBrgb(163, 79, 196)
HSLhsl(283, 50%, 54%)
HSVhsv(283, 60%, 77%)
CMYKcmyk(16.8%, 59.7%, 0%, 23.1%)
CIE-LABlab(48.72, 53.20, -46.83)
CIE-LCHlch(48.72, 70.87, 318.64°)
OKLaboklab(58.06% 0.1326 -0.1311)
OKLCHoklch(58.06% 0.186 315.3)
XYZxyz(27.8625, 17.3649, 54.0979)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FC4 #70C44F
analogous
#694FC4 #A34FC4 #C44FAB
triadic
#A34FC4 #C4A34F #4FC4A3
tetradic
#A34FC4 #C4694F #70C44F #4FABC4
square
#A34FC4 #C4694F #70C44F #4FABC4
split-complementary
#A34FC4 #ABC44F #4FC469
monochromatic
#5D2672 #8236A0 #A34FC4 #BB7DD3 #D3ABE3

Accessibility & contrast

On white

4.70
#A34FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A34FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FC4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FC4#FFFFFF#000000##FFFFFF
##A34FC41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC8
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#A16382
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a34fc4;
/* rgb */ color: rgb(163, 79, 196);
/* oklch */ color: oklch(58.1% 0.186 315.3);
Tailwind
colors: {
  custom: {
    50: '#c185d6',
    500: '#a34fc4',
    950: '#000000',
  },
}
SCSS
$custom: #a34fc4;
$custom-light: #c185d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fc4",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 283.077,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.18646,
    "h": 315.3
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#A34FC4
secondary
#ADD09E
accent
#D94E76
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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