#A34FB2#A34FB2

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

Color values

HEX#A34FB2
RGBrgb(163, 79, 178)
HSLhsl(291, 39%, 50%)
HSVhsv(291, 56%, 70%)
CMYKcmyk(8.4%, 55.6%, 0%, 30.2%)
CIE-LABlab(47.74, 49.54, -37.90)
CIE-LCHlch(47.74, 62.38, 322.58°)
OKLaboklab(57.04% 0.1316 -0.1051)
OKLCHoklch(57.04% 0.168 321.4)
XYZxyz(25.9352, 16.5940, 43.9477)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FB2 #5EB24F
analogous
#714FB2 #A34FB2 #B24F8F
triadic
#A34FB2 #B2A34F #4FB2A3
tetradic
#A34FB2 #B2714F #5EB24F #4F8FB2
square
#A34FB2 #B2714F #5EB24F #4F8FB2
split-complementary
#A34FB2 #8FB24F #4FB271
monochromatic
#56295E #7D3C88 #A34FB2 #B97AC5 #D0A4D7

Accessibility & contrast

On white

4.86
#A34FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A34FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FB2#FFFFFF#000000##FFFFFF
##A34FB21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#5975AF
Tritanopia (blue-blind)
#A55D79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a34fb2;
/* rgb */ color: rgb(163, 79, 178);
/* oklch */ color: oklch(57.0% 0.168 321.4);
Tailwind
colors: {
  custom: {
    50: '#c184c9',
    500: '#a34fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a34fb2;
$custom-light: #c184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fb2",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 290.909,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.16843,
    "h": 321.4
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#A34FB2
secondary
#9FC498
accent
#CF596B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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