#A34AC7#A34AC7

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

Color values

HEX#A34AC7
RGBrgb(163, 74, 199)
HSLhsl(283, 53%, 54%)
HSVhsv(283, 63%, 78%)
CMYKcmyk(18.1%, 62.8%, 0%, 22%)
CIE-LABlab(48.02, 56.20, -49.67)
CIE-LCHlch(48.02, 75.00, 318.53°)
OKLaboklab(57.61% 0.1387 -0.1394)
OKLCHoklch(57.61% 0.197 314.9)
XYZxyz(27.8602, 16.8085, 55.7985)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34AC7 #6EC74A
analogous
#644AC7 #A34AC7 #C74AAC
triadic
#A34AC7 #C7A34A #4AC7A3
tetradic
#A34AC7 #C7644A #6EC74A #4AACC7
square
#A34AC7 #C7644A #6EC74A #4AACC7
split-complementary
#A34AC7 #ACC74A #4AC764
monochromatic
#5C2473 #8232A2 #A34AC7 #BB79D5 #D3A7E4

Accessibility & contrast

On white

4.81
#A34AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A34AC7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34AC7#FFFFFF#000000##FFFFFF
##A34AC71.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#A06182
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a34ac7;
/* rgb */ color: rgb(163, 74, 199);
/* oklch */ color: oklch(57.6% 0.197 314.9);
Tailwind
colors: {
  custom: {
    50: '#c282d9',
    500: '#a34ac7',
    950: '#000000',
  },
}
SCSS
$custom: #a34ac7;
$custom-light: #c282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ac7",
  "rgb": {
    "r": 163,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 282.72,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.19667,
    "h": 314.9
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#A34AC7
secondary
#ABD19C
accent
#DC4C75
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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