#A34FB7#A34FB7

#A34FB7 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.173 H 319.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A34FB7
RGBrgb(163, 79, 183)
HSLhsl(288, 42%, 51%)
HSVhsv(288, 57%, 72%)
CMYKcmyk(10.9%, 56.8%, 0%, 28.2%)
CIE-LABlab(48.01, 50.54, -40.41)
CIE-LCHlch(48.01, 64.71, 321.35°)
OKLaboklab(57.31% 0.132 -0.1124)
OKLCHoklch(57.31% 0.173 319.6)
XYZxyz(26.4464, 16.7985, 46.6399)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FB7 #63B74F
analogous
#6F4FB7 #A34FB7 #B74F97
triadic
#A34FB7 #B7A34F #4FB7A3
tetradic
#A34FB7 #B76F4F #63B74F #4F97B7
square
#A34FB7 #B76F4F #63B74F #4F97B7
split-complementary
#A34FB7 #97B74F #4FB76F
monochromatic
#582963 #7E3A8F #A34FB7 #BA7AC9 #D0A6DB

Accessibility & contrast

On white

4.82
#A34FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A34FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FB7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FB7#FFFFFF#000000##FFFFFF
##A34FB71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#A45F7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a34fb7;
/* rgb */ color: rgb(163, 79, 183);
/* oklch */ color: oklch(57.3% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#c184cd',
    500: '#a34fb7',
    950: '#000000',
  },
}
SCSS
$custom: #a34fb7;
$custom-light: #c184cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fb7",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 288.462,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.17337,
    "h": 319.6
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#A34FB7
secondary
#A3C89A
accent
#D2566E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A34FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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