#A334AA#A334AA

#A334AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.199 H 325.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A334AA
RGBrgb(163, 52, 170)
HSLhsl(296, 53%, 44%)
HSVhsv(296, 69%, 67%)
CMYKcmyk(4.1%, 69.4%, 0%, 33.3%)
CIE-LABlab(42.98, 59.97, -40.73)
CIE-LCHlch(42.98, 72.49, 325.82°)
OKLaboklab(53.44% 0.1639 -0.1131)
OKLCHoklch(53.44% 0.199 325.4)
XYZxyz(23.5874, 13.1463, 39.3175)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334AA #3BAA34
analogous
#6834AA #A334AA #AA3476
triadic
#A334AA #AAA334 #34AAA3
tetradic
#A334AA #AA6834 #3BAA34 #3476AA
square
#A334AA #AA6834 #3BAA34 #3476AA
split-complementary
#A334AA #76AA34 #34AA68
monochromatic
#49174C #76267B #A334AA #C351CA #D380D8

Accessibility & contrast

On white

5.79
#A334AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A334AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334AA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334AA#FFFFFF#000000##FFFFFF
##A334AA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#A7476B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a334aa;
/* rgb */ color: rgb(163, 52, 170);
/* oklch */ color: oklch(53.4% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#c275c4',
    500: '#a334aa',
    950: '#000000',
  },
}
SCSS
$custom: #a334aa;
$custom-light: #c275c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a334aa",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 296.441,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.19918,
    "h": 325.4
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#A334AA
secondary
#7DC178
accent
#DD4B54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A334AA

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

Preview Lab → · Contrast checker → · Palette generator →

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