#A335A9#A335A9

#A335A9 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 325.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A335A9
RGBrgb(163, 53, 169)
HSLhsl(297, 52%, 44%)
HSVhsv(297, 69%, 66%)
CMYKcmyk(3.6%, 68.6%, 0%, 33.7%)
CIE-LABlab(43.06, 59.42, -40.01)
CIE-LCHlch(43.06, 71.63, 326.05°)
OKLaboklab(53.48% 0.1629 -0.1111)
OKLCHoklch(53.48% 0.197 325.7)
XYZxyz(23.5383, 13.1988, 38.8363)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335A9 #3BA935
analogous
#6935A9 #A335A9 #A93575
triadic
#A335A9 #A9A335 #35A9A3
tetradic
#A335A9 #A96935 #3BA935 #3575A9
square
#A335A9 #A96935 #3BA935 #3575A9
split-complementary
#A335A9 #75A935 #35A969
monochromatic
#49184C #76267A #A335A9 #C352C9 #D381D7

Accessibility & contrast

On white

5.77
#A335A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A335A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335A9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335A9#FFFFFF#000000##FFFFFF
##A335A91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAC
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#A7476B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a335a9;
/* rgb */ color: rgb(163, 53, 169);
/* oklch */ color: oklch(53.5% 0.197 325.7);
Tailwind
colors: {
  custom: {
    50: '#c276c3',
    500: '#a335a9',
    950: '#000000',
  },
}
SCSS
$custom: #a335a9;
$custom-light: #c276c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a335a9",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 296.897,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.19713,
    "h": 325.7
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#A335A9
secondary
#7DC179
accent
#DC4C54
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A335A9

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

Preview Lab → · Contrast checker → · Palette generator →

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