#A34FB1#A34FB1

#A34FB1 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.167 H 321.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A34FB1
RGBrgb(163, 79, 177)
HSLhsl(291, 39%, 50%)
HSVhsv(291, 55%, 69%)
CMYKcmyk(7.9%, 55.4%, 0%, 30.6%)
CIE-LABlab(47.69, 49.35, -37.40)
CIE-LCHlch(47.69, 61.92, 322.85°)
OKLaboklab(56.98% 0.1315 -0.1037)
OKLCHoklch(56.98% 0.167 321.7)
XYZxyz(25.8352, 16.5540, 43.4208)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FB1 #5DB14F
analogous
#724FB1 #A34FB1 #B14F8E
triadic
#A34FB1 #B1A34F #4FB1A3
tetradic
#A34FB1 #B1724F #5DB14F #4F8EB1
square
#A34FB1 #B1724F #5DB14F #4F8EB1
split-complementary
#A34FB1 #8EB14F #4FB172
monochromatic
#55295D #7C3C87 #A34FB1 #B979C4 #CFA4D7

Accessibility & contrast

On white

4.87
#A34FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A34FB1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FB1#FFFFFF#000000##FFFFFF
##A34FB11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#5A74AE
Tritanopia (blue-blind)
#A55D78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a34fb1;
/* rgb */ color: rgb(163, 79, 177);
/* oklch */ color: oklch(57.0% 0.167 321.7);
Tailwind
colors: {
  custom: {
    50: '#c184c9',
    500: '#a34fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a34fb1;
$custom-light: #c184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fb1",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 291.429,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.16744,
    "h": 321.7
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A34FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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