#A34CD8#A34CD8

#A34CD8 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.211 H 310.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A34CD8
RGBrgb(163, 76, 216)
HSLhsl(277, 64%, 57%)
HSVhsv(277, 65%, 85%)
CMYKcmyk(24.5%, 64.8%, 0%, 15.3%)
CIE-LABlab(49.39, 58.88, -57.22)
CIE-LCHlch(49.39, 82.10, 315.82°)
OKLaboklab(58.94% 0.1357 -0.1615)
OKLCHoklch(58.94% 0.211 310)
XYZxyz(30.0810, 17.9139, 66.8255)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34CD8 #81D84C
analogous
#5D4CD8 #A34CD8 #D84CC7
triadic
#A34CD8 #D8A34C #4CD8A3
tetradic
#A34CD8 #D85D4C #81D84C #4CC7D8
square
#A34CD8 #D85D4C #81D84C #4CC7D8
split-complementary
#A34CD8 #C7D84C #4CD85D
monochromatic
#621E8B #8529BE #A34CD8 #BD7EE3 #D7B1EE

Accessibility & contrast

On white

4.58
#A34CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A34CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34CD8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34CD8#FFFFFF#000000##000000
##A34CD81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#9C698C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34cd8;
/* rgb */ color: rgb(163, 76, 216);
/* oklch */ color: oklch(58.9% 0.211 310.0);
Tailwind
colors: {
  custom: {
    50: '#c284e5',
    500: '#a34cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a34cd8;
$custom-light: #c284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34cd8",
  "rgb": {
    "r": 163,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 277.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.21099,
    "h": 310
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#A34CD8
secondary
#B9DCA4
accent
#E74180
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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