#A34DB2#A34DB2

#A34DB2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.8% C 0.172 H 321.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A34DB2
RGBrgb(163, 77, 178)
HSLhsl(291, 40%, 50%)
HSVhsv(291, 57%, 70%)
CMYKcmyk(8.4%, 56.7%, 0%, 30.2%)
CIE-LABlab(47.38, 50.53, -38.48)
CIE-LCHlch(47.38, 63.51, 322.71°)
OKLaboklab(56.77% 0.1342 -0.1068)
OKLCHoklch(56.77% 0.172 321.5)
XYZxyz(25.7931, 16.3098, 43.9003)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34DB2 #5CB24D
analogous
#704DB2 #A34DB2 #B24D8F
triadic
#A34DB2 #B2A34D #4DB2A3
tetradic
#A34DB2 #B2704D #5CB24D #4D8FB2
square
#A34DB2 #B2704D #5CB24D #4D8FB2
split-complementary
#A34DB2 #8FB24D #4DB270
monochromatic
#55285D #7C3B87 #A34DB2 #B978C4 #CFA2D7

Accessibility & contrast

On white

4.93
#A34DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A34DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34DB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34DB2#FFFFFF#000000##FFFFFF
##A34DB21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#A55C78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a34db2;
/* rgb */ color: rgb(163, 77, 178);
/* oklch */ color: oklch(56.8% 0.172 321.5);
Tailwind
colors: {
  custom: {
    50: '#c183c9',
    500: '#a34db2',
    950: '#000000',
  },
}
SCSS
$custom: #a34db2;
$custom-light: #c183c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34db2",
  "rgb": {
    "r": 163,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 291.089,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.17155,
    "h": 321.5
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#A34DB2
secondary
#9DC497
accent
#CF586A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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