#A334A4#A334A4

#A334A4 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.194 H 327.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A334A4
RGBrgb(163, 52, 164)
HSLhsl(299, 52%, 42%)
HSVhsv(299, 68%, 64%)
CMYKcmyk(0.6%, 68.3%, 0%, 35.7%)
CIE-LABlab(42.65, 58.93, -37.68)
CIE-LCHlch(42.65, 69.95, 327.40°)
OKLaboklab(53.09% 0.1638 -0.1043)
OKLCHoklch(53.09% 0.194 327.5)
XYZxyz(23.0328, 12.9244, 36.3963)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334A4 #35A434
analogous
#6B34A4 #A334A4 #A4346D
triadic
#A334A4 #A4A334 #34A4A3
tetradic
#A334A4 #A46B34 #35A434 #346DA4
square
#A334A4 #A46B34 #35A434 #346DA4
split-complementary
#A334A4 #6DA434 #34A46B
monochromatic
#471747 #752576 #A334A4 #C64EC7 #D57DD6

Accessibility & contrast

On white

5.86
#A334A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A334A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334A4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334A4#FFFFFF#000000##FFFFFF
##A334A41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A84468
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a334a4;
/* rgb */ color: rgb(163, 52, 164);
/* oklch */ color: oklch(53.1% 0.194 327.5);
Tailwind
colors: {
  custom: {
    50: '#c275bf',
    500: '#a334a4',
    950: '#000000',
  },
}
SCSS
$custom: #a334a4;
$custom-light: #c275bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a334a4",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 299.464,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.19423,
    "h": 327.5
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#A334A4
secondary
#76BF75
accent
#DB4C4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A334A4

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

Preview Lab → · Contrast checker → · Palette generator →

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