#A34CD4#A34CD4

#A34CD4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.207 H 311.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A34CD4
RGBrgb(163, 76, 212)
HSLhsl(278, 61%, 56%)
HSVhsv(278, 64%, 83%)
CMYKcmyk(23.1%, 64.2%, 0%, 16.9%)
CIE-LABlab(49.14, 58.01, -55.34)
CIE-LCHlch(49.14, 80.17, 316.35°)
OKLaboklab(58.68% 0.1359 -0.156)
OKLCHoklch(58.68% 0.207 311.1)
XYZxyz(29.5701, 17.7096, 64.1352)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34CD4 #7DD44C
analogous
#5F4CD4 #A34CD4 #D44CC1
triadic
#A34CD4 #D4A34C #4CD4A3
tetradic
#A34CD4 #D45F4C #7DD44C #4CC1D4
square
#A34CD4 #D45F4C #7DD44C #4CC1D4
split-complementary
#A34CD4 #C1D44C #4CD45F
monochromatic
#612086 #852CB7 #A34CD4 #BC7DE0 #D6AFEC

Accessibility & contrast

On white

4.62
#A34CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A34CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A34CD4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34CD4#FFFFFF#000000##FFFFFF
##A34CD41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#3D76D1
Tritanopia (blue-blind)
#9D6789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34cd4;
/* rgb */ color: rgb(163, 76, 212);
/* oklch */ color: oklch(58.7% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#c283e2',
    500: '#a34cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a34cd4;
$custom-light: #c283e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a34cd4",
  "rgb": {
    "r": 163,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 278.382,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58676,
    "c": 0.20694,
    "h": 311.1
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#A34CD4
secondary
#B6DAA2
accent
#E4437D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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