#A34FC2#A34FC2

#A34FC2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.184 H 315.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A34FC2
RGBrgb(163, 79, 194)
HSLhsl(284, 49%, 54%)
HSVhsv(284, 59%, 76%)
CMYKcmyk(16%, 59.3%, 0%, 23.9%)
CIE-LABlab(48.60, 52.78, -45.85)
CIE-LCHlch(48.60, 69.91, 319.02°)
OKLaboklab(57.95% 0.1325 -0.1283)
OKLCHoklch(57.95% 0.184 315.9)
XYZxyz(27.6364, 17.2745, 52.9070)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FC2 #6EC24F
analogous
#694FC2 #A34FC2 #C24FA7
triadic
#A34FC2 #C2A34F #4FC2A3
tetradic
#A34FC2 #C2694F #6EC24F #4FA7C2
square
#A34FC2 #C2694F #6EC24F #4FA7C2
split-complementary
#A34FC2 #A7C24F #4FC269
monochromatic
#5C2770 #82379D #A34FC2 #BB7CD2 #D3AAE2

Accessibility & contrast

On white

4.71
#A34FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A34FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FC2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FC2#FFFFFF#000000##FFFFFF
##A34FC21.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#A16381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a34fc2;
/* rgb */ color: rgb(163, 79, 194);
/* oklch */ color: oklch(57.9% 0.184 315.9);
Tailwind
colors: {
  custom: {
    50: '#c185d5',
    500: '#a34fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a34fc2;
$custom-light: #c185d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fc2",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 283.826,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.18443,
    "h": 315.9
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#A34FC2
secondary
#ABCF9E
accent
#D85074
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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