#A34FC7#A34FC7

#A34FC7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.190 H 314.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A34FC7
RGBrgb(163, 79, 199)
HSLhsl(282, 52%, 55%)
HSVhsv(282, 60%, 78%)
CMYKcmyk(18.1%, 60.3%, 0%, 22%)
CIE-LABlab(48.89, 53.82, -48.28)
CIE-LCHlch(48.89, 72.31, 318.11°)
OKLaboklab(58.24% 0.1326 -0.1354)
OKLCHoklch(58.24% 0.19 314.4)
XYZxyz(28.2074, 17.5029, 55.9143)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FC7 #73C74F
analogous
#674FC7 #A34FC7 #C74FAF
triadic
#A34FC7 #C7A34F #4FC7A3
tetradic
#A34FC7 #C7674F #73C74F #4FAFC7
square
#A34FC7 #C7674F #73C74F #4FAFC7
split-complementary
#A34FC7 #AFC74F #4FC767
monochromatic
#5E2676 #8334A4 #A34FC7 #BB7DD6 #D4ACE5

Accessibility & contrast

On white

4.67
#A34FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A34FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FC7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FC7#FFFFFF#000000##FFFFFF
##A34FC71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a34fc7;
/* rgb */ color: rgb(163, 79, 199);
/* oklch */ color: oklch(58.2% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#c185d8',
    500: '#a34fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a34fc7;
$custom-light: #c185d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fc7",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 282,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.18951,
    "h": 314.4
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#A34FC7
secondary
#AFD2A0
accent
#DB4D77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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