#A34FBE#A34FBE

#A34FBE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.180 H 317.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A34FBE
RGBrgb(163, 79, 190)
HSLhsl(285, 46%, 53%)
HSVhsv(285, 58%, 75%)
CMYKcmyk(14.2%, 58.4%, 0%, 25.5%)
CIE-LABlab(48.38, 51.96, -43.88)
CIE-LCHlch(48.38, 68.01, 319.81°)
OKLaboklab(57.71% 0.1324 -0.1225)
OKLCHoklch(57.71% 0.18 317.2)
XYZxyz(27.1932, 17.0972, 50.5729)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FBE #6ABE4F
analogous
#6B4FBE #A34FBE #BE4FA2
triadic
#A34FBE #BEA34F #4FBEA3
tetradic
#A34FBE #BE6B4F #6ABE4F #4FA2BE
square
#A34FBE #BE6B4F #6ABE4F #4FA2BE
split-complementary
#A34FBE #A2BE4F #4FBE6B
monochromatic
#5B286B #803898 #A34FBE #BA7CCF #D2A8DF

Accessibility & contrast

On white

4.75
#A34FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A34FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FBE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FBE#FFFFFF#000000##FFFFFF
##A34FBE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#5276BB
Tritanopia (blue-blind)
#A2617F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a34fbe;
/* rgb */ color: rgb(163, 79, 190);
/* oklch */ color: oklch(57.7% 0.180 317.2);
Tailwind
colors: {
  custom: {
    50: '#c185d2',
    500: '#a34fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a34fbe;
$custom-light: #c185d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fbe",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 285.405,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.18039,
    "h": 317.2
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#A34FBE
secondary
#A8CC9C
accent
#D65272
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A34FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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