#A34EB2#A34EB2

#A34EB2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.170 H 321.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A34EB2
RGBrgb(163, 78, 178)
HSLhsl(291, 39%, 50%)
HSVhsv(291, 56%, 70%)
CMYKcmyk(8.4%, 56.2%, 0%, 30.2%)
CIE-LABlab(47.56, 50.04, -38.19)
CIE-LCHlch(47.56, 62.95, 322.65°)
OKLaboklab(56.9% 0.1329 -0.106)
OKLCHoklch(56.9% 0.17 321.4)
XYZxyz(25.8636, 16.4509, 43.9238)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EB2 #5DB24E
analogous
#714EB2 #A34EB2 #B24E8F
triadic
#A34EB2 #B2A34E #4EB2A3
tetradic
#A34EB2 #B2714E #5DB24E #4E8FB2
square
#A34EB2 #B2714E #5DB24E #4E8FB2
split-complementary
#A34EB2 #8FB24E #4EB271
monochromatic
#55295D #7C3B88 #A34EB2 #B979C5 #CFA3D7

Accessibility & contrast

On white

4.90
#A34EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A34EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34EB2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EB2#FFFFFF#000000##FFFFFF
##A34EB21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#A55C79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a34eb2;
/* rgb */ color: rgb(163, 78, 178);
/* oklch */ color: oklch(56.9% 0.170 321.4);
Tailwind
colors: {
  custom: {
    50: '#c184c9',
    500: '#a34eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a34eb2;
$custom-light: #c184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34eb2",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 291,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.16999,
    "h": 321.4
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#A34EB2
secondary
#9EC498
accent
#CF596A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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