#A34CD7#A34CD7

#A34CD7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.210 H 310.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A34CD7
RGBrgb(163, 76, 215)
HSLhsl(278, 63%, 57%)
HSVhsv(278, 65%, 84%)
CMYKcmyk(24.2%, 64.7%, 0%, 15.7%)
CIE-LABlab(49.33, 58.66, -56.75)
CIE-LCHlch(49.33, 81.62, 315.95°)
OKLaboklab(58.87% 0.1358 -0.1602)
OKLCHoklch(58.87% 0.21 310.3)
XYZxyz(29.9521, 17.8623, 66.1467)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34CD7 #80D74C
analogous
#5E4CD7 #A34CD7 #D74CC5
triadic
#A34CD7 #D7A34C #4CD7A3
tetradic
#A34CD7 #D75E4C #80D74C #4CC5D7
square
#A34CD7 #D75E4C #80D74C #4CC5D7
split-complementary
#A34CD7 #C5D74C #4CD75E
monochromatic
#621F8A #852ABC #A34CD7 #BD7EE2 #D6B0ED

Accessibility & contrast

On white

4.59
#A34CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A34CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A34CD7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34CD7#FFFFFF#000000##FFFFFF
##A34CD71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#9C688B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34cd7;
/* rgb */ color: rgb(163, 76, 215);
/* oklch */ color: oklch(58.9% 0.210 310.3);
Tailwind
colors: {
  custom: {
    50: '#c283e4',
    500: '#a34cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a34cd7;
$custom-light: #c283e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a34cd7",
  "rgb": {
    "r": 163,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 277.554,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.20998,
    "h": 310.3
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#A34CD7
secondary
#B8DCA3
accent
#E6417F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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