#A335C5#A335C5

#A335C5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.221 H 316.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A335C5
RGBrgb(163, 53, 197)
HSLhsl(286, 58%, 49%)
HSVhsv(286, 73%, 77%)
CMYKcmyk(17.3%, 73.1%, 0%, 22.7%)
CIE-LABlab(44.75, 64.59, -53.75)
CIE-LCHlch(44.75, 84.03, 320.23°)
OKLaboklab(55.23% 0.1614 -0.1512)
OKLCHoklch(55.23% 0.221 316.9)
XYZxyz(26.4539, 14.3651, 54.1918)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335C5 #57C535
analogous
#5B35C5 #A335C5 #C5359F
triadic
#A335C5 #C5A335 #35C5A3
tetradic
#A335C5 #C55B35 #57C535 #359FC5
square
#A335C5 #C55B35 #57C535 #359FC5
split-complementary
#A335C5 #9FC535 #35C55B
monochromatic
#531B65 #7B2895 #A335C5 #BA62D5 #CF93E2

Accessibility & contrast

On white

5.42
#A335C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A335C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335C5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335C5#FFFFFF#000000##FFFFFF
##A335C51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#A1537A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a335c5;
/* rgb */ color: rgb(163, 53, 197);
/* oklch */ color: oklch(55.2% 0.221 316.9);
Tailwind
colors: {
  custom: {
    50: '#c277d7',
    500: '#a335c5',
    950: '#000000',
  },
}
SCSS
$custom: #a335c5;
$custom-light: #c277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a335c5",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 285.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.22117,
    "h": 316.9
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#A335C5
secondary
#99CD89
accent
#E1476B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A335C5

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

Preview Lab → · Contrast checker → · Palette generator →

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