#A34FBB#A34FBB

#A34FBB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.177 H 318.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A34FBB
RGBrgb(163, 79, 187)
HSLhsl(287, 44%, 52%)
HSVhsv(287, 58%, 73%)
CMYKcmyk(12.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(48.22, 51.34, -42.40)
CIE-LCHlch(48.22, 66.59, 320.45°)
OKLaboklab(57.54% 0.1322 -0.1182)
OKLCHoklch(57.54% 0.177 318.2)
XYZxyz(26.8687, 16.9674, 48.8638)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FBB #67BB4F
analogous
#6D4FBB #A34FBB #BB4F9D
triadic
#A34FBB #BBA34F #4FBBA3
tetradic
#A34FBB #BB6D4F #67BB4F #4F9DBB
square
#A34FBB #BB6D4F #67BB4F #4F9DBB
split-complementary
#A34FBB #9DBB4F #4FBB6D
monochromatic
#592868 #803994 #A34FBB #BA7BCC #D1A7DD

Accessibility & contrast

On white

4.78
#A34FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A34FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FBB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FBB#FFFFFF#000000##FFFFFF
##A34FBB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A3607D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a34fbb;
/* rgb */ color: rgb(163, 79, 187);
/* oklch */ color: oklch(57.5% 0.177 318.2);
Tailwind
colors: {
  custom: {
    50: '#c185d0',
    500: '#a34fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a34fbb;
$custom-light: #c185d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fbb",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 286.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.17737,
    "h": 318.2
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#A34FBB
secondary
#A6CA9B
accent
#D45470
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A34FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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