#A34CB2#A34CB2

#A34CB2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.6% C 0.173 H 321.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A34CB2
RGBrgb(163, 76, 178)
HSLhsl(291, 40%, 50%)
HSVhsv(291, 57%, 70%)
CMYKcmyk(8.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(47.20, 51.02, -38.76)
CIE-LCHlch(47.20, 64.07, 322.77°)
OKLaboklab(56.64% 0.1356 -0.1076)
OKLCHoklch(56.64% 0.173 321.6)
XYZxyz(25.7237, 16.1710, 43.8772)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34CB2 #5BB24C
analogous
#704CB2 #A34CB2 #B24C8E
triadic
#A34CB2 #B2A34C #4CB2A3
tetradic
#A34CB2 #B2704C #5BB24C #4C8EB2
square
#A34CB2 #B2704C #5BB24C #4C8EB2
split-complementary
#A34CB2 #8EB24C #4CB270
monochromatic
#54275C #7C3A87 #A34CB2 #B976C5 #CFA1D7

Accessibility & contrast

On white

4.96
#A34CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A34CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34CB2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34CB2#FFFFFF#000000##FFFFFF
##A34CB21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#A55B78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a34cb2;
/* rgb */ color: rgb(163, 76, 178);
/* oklch */ color: oklch(56.6% 0.173 321.6);
Tailwind
colors: {
  custom: {
    50: '#c183c9',
    500: '#a34cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a34cb2;
$custom-light: #c183c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34cb2",
  "rgb": {
    "r": 163,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 291.176,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.17309,
    "h": 321.6
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#A34CB2
secondary
#9DC496
accent
#D05869
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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