#A335AA#A335AA

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

Color values

HEX#A335AA
RGBrgb(163, 53, 170)
HSLhsl(296, 52%, 44%)
HSVhsv(296, 69%, 67%)
CMYKcmyk(4.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(43.12, 59.59, -40.51)
CIE-LCHlch(43.12, 72.06, 325.79°)
OKLaboklab(53.54% 0.1629 -0.1125)
OKLCHoklch(53.54% 0.198 325.4)
XYZxyz(23.6325, 13.2365, 39.3326)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335AA #3CAA35
analogous
#6835AA #A335AA #AA3576
triadic
#A335AA #AAA335 #35AAA3
tetradic
#A335AA #AA6835 #3CAA35 #3576AA
square
#A335AA #AA6835 #3CAA35 #3576AA
split-complementary
#A335AA #76AA35 #35AA68
monochromatic
#4A184D #76267B #A335AA #C253C9 #D382D8

Accessibility & contrast

On white

5.76
#A335AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A335AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335AA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335AA#FFFFFF#000000##FFFFFF
##A335AA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#A7476C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a335aa;
/* rgb */ color: rgb(163, 53, 170);
/* oklch */ color: oklch(53.5% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#c276c4',
    500: '#a335aa',
    950: '#000000',
  },
}
SCSS
$custom: #a335aa;
$custom-light: #c276c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a335aa",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 296.41,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.19796,
    "h": 325.4
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#A335AA
secondary
#7EC17A
accent
#DC4C55
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A335AA

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

Preview Lab → · Contrast checker → · Palette generator →

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