#A334A6#A334A6

#A334A6 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 326.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A334A6
RGBrgb(163, 52, 166)
HSLhsl(298, 52%, 43%)
HSVhsv(298, 69%, 65%)
CMYKcmyk(1.8%, 68.7%, 0%, 34.9%)
CIE-LABlab(42.76, 59.27, -38.70)
CIE-LCHlch(42.76, 70.79, 326.86°)
OKLaboklab(53.21% 0.1639 -0.1073)
OKLCHoklch(53.21% 0.196 326.8)
XYZxyz(23.2148, 12.9972, 37.3550)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334A6 #37A634
analogous
#6A34A6 #A334A6 #A63470
triadic
#A334A6 #A6A334 #34A6A3
tetradic
#A334A6 #A66A34 #37A634 #3470A6
square
#A334A6 #A66A34 #37A634 #3470A6
split-complementary
#A334A6 #70A634 #34A66A
monochromatic
#471749 #752577 #A334A6 #C54FC8 #D47ED7

Accessibility & contrast

On white

5.83
#A334A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A334A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334A6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334A6#FFFFFF#000000##FFFFFF
##A334A61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#A84569
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a334a6;
/* rgb */ color: rgb(163, 52, 166);
/* oklch */ color: oklch(53.2% 0.196 326.8);
Tailwind
colors: {
  custom: {
    50: '#c275c1',
    500: '#a334a6',
    950: '#000000',
  },
}
SCSS
$custom: #a334a6;
$custom-light: #c275c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a334a6",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 298.421,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.19587,
    "h": 326.8
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#A334A6
secondary
#78C076
accent
#DC4C50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A334A6

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

Preview Lab → · Contrast checker → · Palette generator →

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