#A34EB4#A34EB4

#A34EB4 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.172 H 320.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A34EB4
RGBrgb(163, 78, 180)
HSLhsl(290, 40%, 51%)
HSVhsv(290, 57%, 71%)
CMYKcmyk(9.4%, 56.7%, 0%, 29.4%)
CIE-LABlab(47.66, 50.43, -39.20)
CIE-LCHlch(47.66, 63.87, 322.15°)
OKLaboklab(57.01% 0.1331 -0.1089)
OKLCHoklch(57.01% 0.172 320.7)
XYZxyz(26.0659, 16.5318, 44.9891)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EB4 #5FB44E
analogous
#704EB4 #A34EB4 #B44E92
triadic
#A34EB4 #B4A34E #4EB4A3
tetradic
#A34EB4 #B4704E #5FB44E #4E92B4
square
#A34EB4 #B4704E #5FB44E #4E92B4
split-complementary
#A34EB4 #92B44E #4EB470
monochromatic
#56285F #7D3B8A #A34EB4 #B979C6 #D0A4D8

Accessibility & contrast

On white

4.88
#A34EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A34EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EB4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EB4#FFFFFF#000000##FFFFFF
##A34EB41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#A45D7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a34eb4;
/* rgb */ color: rgb(163, 78, 180);
/* oklch */ color: oklch(57.0% 0.172 320.7);
Tailwind
colors: {
  custom: {
    50: '#c184cb',
    500: '#a34eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a34eb4;
$custom-light: #c184cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a34eb4",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 290,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.17195,
    "h": 320.7
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#A34EB4
secondary
#A0C698
accent
#D0576C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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