#A34DC2#A34DC2

#A34DC2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.187 H 316.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A34DC2
RGBrgb(163, 77, 194)
HSLhsl(284, 49%, 53%)
HSVhsv(284, 60%, 76%)
CMYKcmyk(16%, 60.3%, 0%, 23.9%)
CIE-LABlab(48.25, 53.75, -46.42)
CIE-LCHlch(48.25, 71.02, 319.19°)
OKLaboklab(57.68% 0.135 -0.1299)
OKLCHoklch(57.68% 0.187 316.1)
XYZxyz(27.4943, 16.9903, 52.8596)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34DC2 #6CC24D
analogous
#694DC2 #A34DC2 #C24DA6
triadic
#A34DC2 #C2A34D #4DC2A3
tetradic
#A34DC2 #C2694D #6CC24D #4DA6C2
square
#A34DC2 #C2694D #6CC24D #4DA6C2
split-complementary
#A34DC2 #A6C24D #4DC269
monochromatic
#5B266F #81369C #A34DC2 #BB7BD2 #D2A8E1

Accessibility & contrast

On white

4.78
#A34DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A34DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34DC2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34DC2#FFFFFF#000000##FFFFFF
##A34DC21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A16180
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a34dc2;
/* rgb */ color: rgb(163, 77, 194);
/* oklch */ color: oklch(57.7% 0.187 316.1);
Tailwind
colors: {
  custom: {
    50: '#c183d5',
    500: '#a34dc2',
    950: '#000000',
  },
}
SCSS
$custom: #a34dc2;
$custom-light: #c183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34dc2",
  "rgb": {
    "r": 163,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 284.103,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.18738,
    "h": 316.1
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#A34DC2
secondary
#AACF9C
accent
#D94F74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A34DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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