#A34EC7#A34EC7

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

Color values

HEX#A34EC7
RGBrgb(163, 78, 199)
HSLhsl(282, 52%, 54%)
HSVhsv(282, 61%, 78%)
CMYKcmyk(18.1%, 60.8%, 0%, 22%)
CIE-LABlab(48.71, 54.31, -48.57)
CIE-LCHlch(48.71, 72.86, 318.19°)
OKLaboklab(58.11% 0.1339 -0.1362)
OKLCHoklch(58.11% 0.191 314.5)
XYZxyz(28.1358, 17.3597, 55.8904)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EC7 #72C74E
analogous
#674EC7 #A34EC7 #C74EAE
triadic
#A34EC7 #C7A34E #4EC7A3
tetradic
#A34EC7 #C7674E #72C74E #4EAEC7
square
#A34EC7 #C7674E #72C74E #4EAEC7
split-complementary
#A34EC7 #AEC74E #4EC767
monochromatic
#5E2575 #8334A4 #A34EC7 #BB7CD6 #D3ABE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A34EC7#FFFFFF#000000##FFFFFF
##A34EC71.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)
#266FCB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#A06483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a34ec7;
/* rgb */ color: rgb(163, 78, 199);
/* oklch */ color: oklch(58.1% 0.191 314.5);
Tailwind
colors: {
  custom: {
    50: '#c184d8',
    500: '#a34ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a34ec7;
$custom-light: #c184d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ec7",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 282.149,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.19098,
    "h": 314.5
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#A34EC7
secondary
#AED29F
accent
#DB4C77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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