#A34AAF#A34AAF

#A34AAF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.173 H 322.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A34AAF
RGBrgb(163, 74, 175)
HSLhsl(293, 41%, 49%)
HSVhsv(293, 58%, 69%)
CMYKcmyk(6.9%, 57.7%, 0%, 31.4%)
CIE-LABlab(46.69, 51.40, -37.81)
CIE-LCHlch(46.69, 63.81, 323.66°)
OKLaboklab(56.21% 0.138 -0.1049)
OKLCHoklch(56.21% 0.173 322.8)
XYZxyz(25.2901, 15.7805, 42.2629)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34AAF #56AF4A
analogous
#714AAF #A34AAF #AF4A89
triadic
#A34AAF #AFA34A #4AAFA3
tetradic
#A34AAF #AF714A #56AF4A #4A89AF
square
#A34AAF #AF714A #56AF4A #4A89AF
split-complementary
#A34AAF #89AF4A #4AAF71
monochromatic
#532659 #7B3884 #A34AAF #BA73C4 #CF9ED6

Accessibility & contrast

On white

5.05
#A34AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A34AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34AAF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34AAF#FFFFFF#000000##FFFFFF
##A34AAF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#A55875
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a34aaf;
/* rgb */ color: rgb(163, 74, 175);
/* oklch */ color: oklch(56.2% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#c181c7',
    500: '#a34aaf',
    950: '#000000',
  },
}
SCSS
$custom: #a34aaf;
$custom-light: #c181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a34aaf",
  "rgb": {
    "r": 163,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 292.871,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.17328,
    "h": 322.8
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#A34AAF
secondary
#98C292
accent
#D05766
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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