#A34AFF#A34AFF

#A34AFF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.4% C 0.253 H 301.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A34AFF
RGBrgb(163, 74, 255)
HSLhsl(270, 100%, 65%)
HSVhsv(270, 71%, 100%)
CMYKcmyk(36.1%, 71%, 0%, 0%)
CIE-LABlab(51.73, 68.48, -75.37)
CIE-LCHlch(51.73, 101.84, 312.26°)
OKLaboklab(61.44% 0.1329 -0.2149)
OKLCHoklch(61.44% 0.253 301.7)
XYZxyz(35.5987, 19.9039, 96.5547)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34AFF #A6FF4A
analogous
#4A4CFF #A34AFF #FE4AFF
triadic
#A34AFF #FFA34A #4AFFA3
tetradic
#A34AFF #FF4A4C #A6FF4A #4AFFFE
square
#A34AFF #FF4A4C #A6FF4A #4AFFFE
split-complementary
#A34AFF #FFFE4A #4CFF4A
monochromatic
#6600CF #840DFF #A34AFF #C287FF #E1C4FF

Accessibility & contrast

On white

4.22
#A34AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A34AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34AFF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34AFF#FFFFFF#000000##000000
##A34AFF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#8F76A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a34aff;
/* rgb */ color: rgb(163, 74, 255);
/* oklch */ color: oklch(61.4% 0.253 301.7);
Tailwind
colors: {
  custom: {
    50: '#c584ff',
    500: '#a34aff',
    950: '#000000',
  },
}
SCSS
$custom: #a34aff;
$custom-light: #c584ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a34aff",
  "rgb": {
    "r": 163,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 269.503,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.25263,
    "h": 301.7
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#A34AFF
secondary
#D3F2B3
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A34AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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