#A34DE7#A34DE7

#A34DE7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.225 H 306.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A34DE7
RGBrgb(163, 77, 231)
HSLhsl(274, 76%, 60%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(29.4%, 66.7%, 0%, 9.4%)
CIE-LABlab(50.53, 61.72, -63.89)
CIE-LCHlch(50.53, 88.84, 314.01°)
OKLaboklab(60.06% 0.1334 -0.1811)
OKLCHoklch(60.06% 0.225 306.4)
XYZxyz(32.1788, 18.8641, 77.5317)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34DE7 #91E74D
analogous
#564DE7 #A34DE7 #E74DDE
triadic
#A34DE7 #E7A34D #4DE7A3
tetradic
#A34DE7 #E7564D #91E74D #4DDEE7
square
#A34DE7 #E7564D #91E74D #4DDEE7
split-complementary
#A34DE7 #DEE74D #4DE756
monochromatic
#6516A4 #861DD9 #A34DE7 #BF83EE #DBB9F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A34DE7#FFFFFF#000000##000000
##A34DE71.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)
#0076EC
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#976F94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34de7;
/* rgb */ color: rgb(163, 77, 231);
/* oklch */ color: oklch(60.1% 0.225 306.4);
Tailwind
colors: {
  custom: {
    50: '#c385ef',
    500: '#a34de7',
    950: '#000000',
  },
}
SCSS
$custom: #a34de7;
$custom-light: #c385ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a34de7",
  "rgb": {
    "r": 163,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 273.506,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6006,
    "c": 0.22494,
    "h": 306.4
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#A34DE7
secondary
#C4E5AA
accent
#D80D67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A34DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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