#A335AB#A335AB

#A335AB is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.199 H 325.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A335AB
RGBrgb(163, 53, 171)
HSLhsl(296, 53%, 44%)
HSVhsv(296, 69%, 67%)
CMYKcmyk(4.7%, 69%, 0%, 32.9%)
CIE-LABlab(43.17, 59.77, -41.02)
CIE-LCHlch(43.17, 72.49, 325.54°)
OKLaboklab(53.6% 0.1629 -0.114)
OKLCHoklch(53.6% 0.199 325)
XYZxyz(23.7275, 13.2745, 39.8327)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335AB #3DAB35
analogous
#6835AB #A335AB #AB3578
triadic
#A335AB #ABA335 #35ABA3
tetradic
#A335AB #AB6835 #3DAB35 #3578AB
square
#A335AB #AB6835 #3DAB35 #3578AB
split-complementary
#A335AB #78AB35 #35AB68
monochromatic
#4A184E #76277C #A335AB #C253CA #D282D8

Accessibility & contrast

On white

5.75
#A335AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A335AB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335AB#FFFFFF#000000##FFFFFF
##A335AB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#4C6BA8
Tritanopia (blue-blind)
#A7486C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a335ab;
/* rgb */ color: rgb(163, 53, 171);
/* oklch */ color: oklch(53.6% 0.199 325.0);
Tailwind
colors: {
  custom: {
    50: '#c276c4',
    500: '#a335ab',
    950: '#000000',
  },
}
SCSS
$custom: #a335ab;
$custom-light: #c276c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a335ab",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 295.932,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.1988,
    "h": 325
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A335AB

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

Preview Lab → · Contrast checker → · Palette generator →

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