#A34EF5#A34EF5

#A34EF5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.2% C 0.238 H 303.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A34EF5
RGBrgb(163, 78, 245)
HSLhsl(271, 89%, 63%)
HSVhsv(271, 68%, 96%)
CMYKcmyk(33.5%, 68.2%, 0%, 3.9%)
CIE-LABlab(51.64, 64.44, -69.95)
CIE-LCHlch(51.64, 95.10, 312.65°)
OKLaboklab(61.16% 0.1306 -0.1989)
OKLCHoklch(61.16% 0.238 303.3)
XYZxyz(34.3063, 19.8279, 88.3883)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34EF5 #A0F54E
analogous
#4F4EF5 #A34EF5 #F54EF3
triadic
#A34EF5 #F5A34E #4EF5A3
tetradic
#A34EF5 #F54F4E #A0F54E #4EF3F5
square
#A34EF5 #F54F4E #A0F54E #4EF3F5
split-complementary
#A34EF5 #F3F54E #4EF54F
monochromatic
#660BBE #8514F2 #A34EF5 #C188F8 #DFC2FC

Accessibility & contrast

On white

4.23
#A34EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A34EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34EF5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34EF5#FFFFFF#000000##000000
##A34EF51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#93759C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a34ef5;
/* rgb */ color: rgb(163, 78, 245);
/* oklch */ color: oklch(61.2% 0.238 303.3);
Tailwind
colors: {
  custom: {
    50: '#c486f9',
    500: '#a34ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a34ef5;
$custom-light: #c486f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a34ef5",
  "rgb": {
    "r": 163,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 270.539,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.23799,
    "h": 303.3
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#A34EF5
secondary
#CFEDB2
accent
#E60071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A34EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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