#A34FBC#A34FBC

#A34FBC is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.178 H 317.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A34FBC
RGBrgb(163, 79, 188)
HSLhsl(286, 45%, 52%)
HSVhsv(286, 58%, 74%)
CMYKcmyk(13.3%, 58%, 0%, 26.3%)
CIE-LABlab(48.27, 51.55, -42.90)
CIE-LCHlch(48.27, 67.06, 320.23°)
OKLaboklab(57.6% 0.1323 -0.1197)
OKLCHoklch(57.6% 0.178 317.9)
XYZxyz(26.9761, 17.0104, 49.4295)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FBC #68BC4F
analogous
#6D4FBC #A34FBC #BC4F9E
triadic
#A34FBC #BCA34F #4FBCA3
tetradic
#A34FBC #BC6D4F #68BC4F #4F9EBC
square
#A34FBC #BC6D4F #68BC4F #4F9EBC
split-complementary
#A34FBC #9EBC4F #4FBC6D
monochromatic
#5A2869 #803995 #A34FBC #BA7BCD #D1A8DE

Accessibility & contrast

On white

4.77
#A34FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A34FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FBC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FBC#FFFFFF#000000##FFFFFF
##A34FBC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#A3617E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a34fbc;
/* rgb */ color: rgb(163, 79, 188);
/* oklch */ color: oklch(57.6% 0.178 317.9);
Tailwind
colors: {
  custom: {
    50: '#c185d1',
    500: '#a34fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a34fbc;
$custom-light: #c185d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fbc",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 286.239,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57596,
    "c": 0.17837,
    "h": 317.9
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#A34FBC
secondary
#A7CB9C
accent
#D55371
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A34FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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