#A34EE4#A34EE4

#A34EE4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.221 H 306.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A34EE4
RGBrgb(163, 78, 228)
HSLhsl(274, 74%, 60%)
HSVhsv(274, 66%, 89%)
CMYKcmyk(28.5%, 65.8%, 0%, 10.6%)
CIE-LABlab(50.50, 60.59, -62.25)
CIE-LCHlch(50.50, 86.87, 314.23°)
OKLaboklab(59.98% 0.1326 -0.1763)
OKLCHoklch(59.98% 0.221 306.9)
XYZxyz(31.8293, 18.8371, 75.3429)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EE4 #8FE44E
analogous
#584EE4 #A34EE4 #E44EDA
triadic
#A34EE4 #E4A34E #4EE4A3
tetradic
#A34EE4 #E4584E #8FE44E #4EDAE4
square
#A34EE4 #E4584E #8FE44E #4EDAE4
split-complementary
#A34EE4 #DAE44E #4EE458
monochromatic
#65189F #8620D4 #A34EE4 #BF83EC #DAB8F4

Accessibility & contrast

On white

4.40
#A34EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A34EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34EE4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EE4#FFFFFF#000000##000000
##A34EE41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#986E93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34ee4;
/* rgb */ color: rgb(163, 78, 228);
/* oklch */ color: oklch(60.0% 0.221 306.9);
Tailwind
colors: {
  custom: {
    50: '#c385ed',
    500: '#a34ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a34ee4;
$custom-light: #c385ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ee4",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 274,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.22061,
    "h": 306.9
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#A34EE4
secondary
#C3E4AA
accent
#F03888
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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