#A34EE2#A34EE2

#A34EE2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.219 H 307.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A34EE2
RGBrgb(163, 78, 226)
HSLhsl(274, 72%, 60%)
HSVhsv(274, 65%, 89%)
CMYKcmyk(27.9%, 65.5%, 0%, 11.4%)
CIE-LABlab(50.37, 60.15, -61.33)
CIE-LCHlch(50.37, 85.90, 314.44°)
OKLaboklab(59.84% 0.1328 -0.1736)
OKLCHoklch(59.84% 0.219 307.4)
XYZxyz(31.5532, 18.7267, 73.8891)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EE2 #8DE24E
analogous
#594EE2 #A34EE2 #E24ED7
triadic
#A34EE2 #E2A34E #4EE2A3
tetradic
#A34EE2 #E2594E #8DE24E #4ED7E2
square
#A34EE2 #E2594E #8DE24E #4ED7E2
split-complementary
#A34EE2 #D7E24E #4EE259
monochromatic
#641A9C #8622D1 #A34EE2 #BE83EB #DAB7F3

Accessibility & contrast

On white

4.43
#A34EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A34EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34EE2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EE2#FFFFFF#000000##000000
##A34EE21.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#996E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34ee2;
/* rgb */ color: rgb(163, 78, 226);
/* oklch */ color: oklch(59.8% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#c385ec',
    500: '#a34ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a34ee2;
$custom-light: #c385ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ee2",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 274.459,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.21856,
    "h": 307.4
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#A34EE2
secondary
#C2E3A9
accent
#EF3986
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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