#A34DE4#A34DE4

#A34DE4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.222 H 307.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A34DE4
RGBrgb(163, 77, 228)
HSLhsl(274, 74%, 60%)
HSVhsv(274, 66%, 89%)
CMYKcmyk(28.5%, 66.2%, 0%, 10.6%)
CIE-LABlab(50.33, 61.06, -62.52)
CIE-LCHlch(50.33, 87.39, 314.32°)
OKLaboklab(59.86% 0.1337 -0.1771)
OKLCHoklch(59.86% 0.222 307)
XYZxyz(31.7588, 18.6961, 75.3194)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34DE4 #8EE44D
analogous
#574DE4 #A34DE4 #E44DDA
triadic
#A34DE4 #E4A34D #4DE4A3
tetradic
#A34DE4 #E4574D #8EE44D #4DDAE4
square
#A34DE4 #E4574D #8EE44D #4DDAE4
split-complementary
#A34DE4 #DAE44D #4DE457
monochromatic
#65189F #8620D4 #A34DE4 #BE82EC #DAB7F4

Accessibility & contrast

On white

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

On black

4.74
#A34DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34DE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34DE4#FFFFFF#000000##000000
##A34DE41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2878E1
Tritanopia (blue-blind)
#986E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34de4;
/* rgb */ color: rgb(163, 77, 228);
/* oklch */ color: oklch(59.9% 0.222 307.0);
Tailwind
colors: {
  custom: {
    50: '#c384ed',
    500: '#a34de4',
    950: '#000000',
  },
}
SCSS
$custom: #a34de4;
$custom-light: #c384ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a34de4",
  "rgb": {
    "r": 163,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 274.172,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.22188,
    "h": 307
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#A34DE4
secondary
#C2E4A9
accent
#F03787
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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