#A334A5#A334A5

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

Color values

HEX#A334A5
RGBrgb(163, 52, 165)
HSLhsl(299, 52%, 43%)
HSVhsv(299, 68%, 65%)
CMYKcmyk(1.2%, 68.5%, 0%, 35.3%)
CIE-LABlab(42.70, 59.10, -38.19)
CIE-LCHlch(42.70, 70.37, 327.13°)
OKLaboklab(53.15% 0.1639 -0.1058)
OKLCHoklch(53.15% 0.195 327.2)
XYZxyz(23.1234, 12.9607, 36.8738)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334A5 #36A534
analogous
#6A34A5 #A334A5 #A5346F
triadic
#A334A5 #A5A334 #34A5A3
tetradic
#A334A5 #A56A34 #36A534 #346FA5
square
#A334A5 #A56A34 #36A534 #346FA5
split-complementary
#A334A5 #6FA534 #34A56A
monochromatic
#471748 #752576 #A334A5 #C54FC7 #D57DD6

Accessibility & contrast

On white

5.85
#A334A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A334A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334A5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334A5#FFFFFF#000000##FFFFFF
##A334A51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a334a5;
/* rgb */ color: rgb(163, 52, 165);
/* oklch */ color: oklch(53.2% 0.195 327.2);
Tailwind
colors: {
  custom: {
    50: '#c275c0',
    500: '#a334a5',
    950: '#000000',
  },
}
SCSS
$custom: #a334a5;
$custom-light: #c275c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a334a5",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 298.938,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.19505,
    "h": 327.2
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#A334A5
secondary
#77BF76
accent
#DC4C4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A334A5

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

Preview Lab → · Contrast checker → · Palette generator →

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