#A335A5#A335A5

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

Color values

HEX#A335A5
RGBrgb(163, 53, 165)
HSLhsl(299, 51%, 43%)
HSVhsv(299, 68%, 65%)
CMYKcmyk(1.2%, 67.9%, 0%, 35.3%)
CIE-LABlab(42.84, 58.72, -37.98)
CIE-LCHlch(42.84, 69.93, 327.11°)
OKLaboklab(53.25% 0.1628 -0.1052)
OKLCHoklch(53.25% 0.194 327.1)
XYZxyz(23.1685, 13.0509, 36.8888)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335A5 #37A535
analogous
#6B35A5 #A335A5 #A5356F
triadic
#A335A5 #A5A335 #35A5A3
tetradic
#A335A5 #A56B35 #37A535 #356FA5
square
#A335A5 #A56B35 #37A535 #356FA5
split-complementary
#A335A5 #6FA535 #35A56B
monochromatic
#471748 #752677 #A335A5 #C550C7 #D47FD6

Accessibility & contrast

On white

5.82
#A335A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A335A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335A5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335A5#FFFFFF#000000##FFFFFF
##A335A51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#A84569
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a335a5;
/* rgb */ color: rgb(163, 53, 165);
/* oklch */ color: oklch(53.2% 0.194 327.1);
Tailwind
colors: {
  custom: {
    50: '#c276c0',
    500: '#a335a5',
    950: '#000000',
  },
}
SCSS
$custom: #a335a5;
$custom-light: #c276c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a335a5",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 298.929,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.19381,
    "h": 327.1
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#A335A5
secondary
#78BF77
accent
#DB4D4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A335A5

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

Preview Lab → · Contrast checker → · Palette generator →

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