#A34FE2#A34FE2

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

Color values

HEX#A34FE2
RGBrgb(163, 79, 226)
HSLhsl(274, 72%, 60%)
HSVhsv(274, 65%, 89%)
CMYKcmyk(27.9%, 65%, 0%, 11.4%)
CIE-LABlab(50.53, 59.68, -61.06)
CIE-LCHlch(50.53, 85.38, 314.35°)
OKLaboklab(59.96% 0.1317 -0.1728)
OKLCHoklch(59.96% 0.217 307.3)
XYZxyz(31.6248, 18.8699, 73.9130)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FE2 #8EE24F
analogous
#5A4FE2 #A34FE2 #E24FD7
triadic
#A34FE2 #E2A34F #4FE2A3
tetradic
#A34FE2 #E25A4F #8EE24F #4FD7E2
square
#A34FE2 #E25A4F #8EE24F #4FD7E2
split-complementary
#A34FE2 #D7E24F #4FE25A
monochromatic
#651A9D #8622D1 #A34FE2 #BE84EB #DAB8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A34FE2#FFFFFF#000000##000000
##A34FE21.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)
#0075E6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#996E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34fe2;
/* rgb */ color: rgb(163, 79, 226);
/* oklch */ color: oklch(60.0% 0.217 307.3);
Tailwind
colors: {
  custom: {
    50: '#c386ec',
    500: '#a34fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a34fe2;
$custom-light: #c386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fe2",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 274.286,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.21727,
    "h": 307.3
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#A34FE2
secondary
#C2E3AA
accent
#EE3987
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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