#A34BB2#A34BB2

#A34BB2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.175 H 321.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A34BB2
RGBrgb(163, 75, 178)
HSLhsl(291, 41%, 50%)
HSVhsv(291, 58%, 70%)
CMYKcmyk(8.4%, 57.9%, 0%, 30.2%)
CIE-LABlab(47.02, 51.50, -39.05)
CIE-LCHlch(47.02, 64.63, 322.83°)
OKLaboklab(56.51% 0.1369 -0.1084)
OKLCHoklch(56.51% 0.175 321.6)
XYZxyz(25.6553, 16.0343, 43.8544)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34BB2 #5AB24B
analogous
#704BB2 #A34BB2 #B24B8E
triadic
#A34BB2 #B2A34B #4BB2A3
tetradic
#A34BB2 #B2704B #5AB24B #4B8EB2
square
#A34BB2 #B2704B #5AB24B #4B8EB2
split-complementary
#A34BB2 #8EB24B #4BB270
monochromatic
#54275C #7C3987 #A34BB2 #B975C5 #CFA0D7

Accessibility & contrast

On white

4.99
#A34BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A34BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34BB2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34BB2#FFFFFF#000000##FFFFFF
##A34BB21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A55A77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a34bb2;
/* rgb */ color: rgb(163, 75, 178);
/* oklch */ color: oklch(56.5% 0.175 321.6);
Tailwind
colors: {
  custom: {
    50: '#c182c9',
    500: '#a34bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a34bb2;
$custom-light: #c182c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34bb2",
  "rgb": {
    "r": 163,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 291.262,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.17462,
    "h": 321.6
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#A34BB2
secondary
#9CC495
accent
#D15769
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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