#A34FAC#A34FAC

#A34FAC is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.163 H 323.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A34FAC
RGBrgb(163, 79, 172)
HSLhsl(294, 37%, 49%)
HSVhsv(294, 54%, 67%)
CMYKcmyk(5.2%, 54.1%, 0%, 32.5%)
CIE-LABlab(47.44, 48.38, -34.86)
CIE-LCHlch(47.44, 59.63, 324.22°)
OKLaboklab(56.72% 0.131 -0.0963)
OKLCHoklch(56.72% 0.163 323.7)
XYZxyz(25.3459, 16.3583, 40.8441)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FAC #58AC4F
analogous
#754FAC #A34FAC #AC4F87
triadic
#A34FAC #ACA34F #4FACA3
tetradic
#A34FAC #AC754F #58AC4F #4F87AC
square
#A34FAC #AC754F #58AC4F #4F87AC
split-complementary
#A34FAC #87AC4F #4FAC75
monochromatic
#542858 #7B3C82 #A34FAC #BA77C1 #CFA1D4

Accessibility & contrast

On white

4.92
#A34FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A34FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FAC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FAC#FFFFFF#000000##FFFFFF
##A34FAC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#A65B76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a34fac;
/* rgb */ color: rgb(163, 79, 172);
/* oklch */ color: oklch(56.7% 0.163 323.7);
Tailwind
colors: {
  custom: {
    50: '#c084c5',
    500: '#a34fac',
    950: '#000000',
  },
}
SCSS
$custom: #a34fac;
$custom-light: #c084c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fac",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 294.194,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.16258,
    "h": 323.7
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#A34FAC
secondary
#9AC196
accent
#CD5B66
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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