#A34EC9#A34EC9

#A34EC9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.193 H 313.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A34EC9
RGBrgb(163, 78, 201)
HSLhsl(281, 53%, 55%)
HSVhsv(281, 61%, 79%)
CMYKcmyk(18.9%, 61.2%, 0%, 21.2%)
CIE-LABlab(48.83, 54.73, -49.53)
CIE-LCHlch(48.83, 73.82, 317.85°)
OKLaboklab(58.24% 0.1339 -0.139)
OKLCHoklch(58.24% 0.193 313.9)
XYZxyz(28.3695, 17.4532, 57.1214)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EC9 #74C94E
analogous
#654EC9 #A34EC9 #C94EB2
triadic
#A34EC9 #C9A34E #4EC9A3
tetradic
#A34EC9 #C9654E #74C94E #4EB2C9
square
#A34EC9 #C9654E #74C94E #4EB2C9
split-complementary
#A34EC9 #B2C94E #4EC965
monochromatic
#5E2578 #8333A7 #A34EC9 #BB7DD7 #D4ACE6

Accessibility & contrast

On white

4.68
#A34EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A34EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EC9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EC9#FFFFFF#000000##FFFFFF
##A34EC91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a34ec9;
/* rgb */ color: rgb(163, 78, 201);
/* oklch */ color: oklch(58.2% 0.193 313.9);
Tailwind
colors: {
  custom: {
    50: '#c184da',
    500: '#a34ec9',
    950: '#000000',
  },
}
SCSS
$custom: #a34ec9;
$custom-light: #c184da;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ec9",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 281.463,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.193,
    "h": 313.9
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#A34EC9
secondary
#AFD39F
accent
#DD4B78
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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