#A34DD5#A34DD5

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

Color values

HEX#A34DD5
RGBrgb(163, 77, 213)
HSLhsl(278, 62%, 57%)
HSVhsv(278, 64%, 84%)
CMYKcmyk(23.5%, 63.8%, 0%, 16.5%)
CIE-LABlab(49.37, 57.76, -55.54)
CIE-LCHlch(49.37, 80.13, 316.13°)
OKLaboklab(58.86% 0.1347 -0.1566)
OKLCHoklch(58.86% 0.207 310.7)
XYZxyz(29.7661, 17.8990, 64.8247)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34DD5 #7FD54D
analogous
#5F4DD5 #A34DD5 #D54DC3
triadic
#A34DD5 #D5A34D #4DD5A3
tetradic
#A34DD5 #D55F4D #7FD54D #4DC3D5
square
#A34DD5 #D55F4D #7FD54D #4DC3D5
split-complementary
#A34DD5 #C3D54D #4DD55F
monochromatic
#622088 #852CB9 #A34DD5 #BD7FE1 #D6B0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A34DD5#FFFFFF#000000##FFFFFF
##A34DD51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#9D688A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34dd5;
/* rgb */ color: rgb(163, 77, 213);
/* oklch */ color: oklch(58.9% 0.207 310.7);
Tailwind
colors: {
  custom: {
    50: '#c284e3',
    500: '#a34dd5',
    950: '#000000',
  },
}
SCSS
$custom: #a34dd5;
$custom-light: #c284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a34dd5",
  "rgb": {
    "r": 163,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 277.941,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.2066,
    "h": 310.7
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#A34DD5
secondary
#B8DBA3
accent
#E5437E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A34DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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