#A34EC8#A34EC8

#A34EC8 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.192 H 314.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A34EC8
RGBrgb(163, 78, 200)
HSLhsl(282, 53%, 55%)
HSVhsv(282, 61%, 78%)
CMYKcmyk(18.5%, 61%, 0%, 21.6%)
CIE-LABlab(48.77, 54.52, -49.05)
CIE-LCHlch(48.77, 73.33, 318.02°)
OKLaboklab(58.17% 0.1339 -0.1376)
OKLCHoklch(58.17% 0.192 314.2)
XYZxyz(28.2522, 17.4063, 56.5039)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EC8 #73C84E
analogous
#664EC8 #A34EC8 #C84EB0
triadic
#A34EC8 #C8A34E #4EC8A3
tetradic
#A34EC8 #C8664E #73C84E #4EB0C8
square
#A34EC8 #C8664E #73C84E #4EB0C8
split-complementary
#A34EC8 #B0C84E #4EC866
monochromatic
#5E2577 #8333A5 #A34EC8 #BB7DD7 #D4ABE5

Accessibility & contrast

On white

4.69
#A34EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A34EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EC8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EC8#FFFFFF#000000##FFFFFF
##A34EC81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a34ec8;
/* rgb */ color: rgb(163, 78, 200);
/* oklch */ color: oklch(58.2% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#c184d9',
    500: '#a34ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a34ec8;
$custom-light: #c184d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ec8",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 281.803,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.19198,
    "h": 314.2
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#A34EC8
secondary
#AFD39F
accent
#DC4C78
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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