#A335A4#A335A4

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

Color values

HEX#A335A4
RGBrgb(163, 53, 164)
HSLhsl(299, 51%, 43%)
HSVhsv(299, 68%, 64%)
CMYKcmyk(0.6%, 67.7%, 0%, 35.7%)
CIE-LABlab(42.79, 58.54, -37.47)
CIE-LCHlch(42.79, 69.51, 327.38°)
OKLaboklab(53.19% 0.1628 -0.1037)
OKLCHoklch(53.19% 0.193 327.5)
XYZxyz(23.0779, 13.0146, 36.4113)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335A4 #36A435
analogous
#6B35A4 #A335A4 #A4356E
triadic
#A335A4 #A4A335 #35A4A3
tetradic
#A335A4 #A46B35 #36A435 #356EA4
square
#A335A4 #A46B35 #36A435 #356EA4
split-complementary
#A335A4 #6EA435 #35A46B
monochromatic
#471747 #752676 #A335A4 #C550C6 #D57ED5

Accessibility & contrast

On white

5.83
#A335A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A335A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335A4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335A4#FFFFFF#000000##FFFFFF
##A335A41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a335a4;
/* rgb */ color: rgb(163, 53, 164);
/* oklch */ color: oklch(53.2% 0.193 327.5);
Tailwind
colors: {
  custom: {
    50: '#c276bf',
    500: '#a335a4',
    950: '#000000',
  },
}
SCSS
$custom: #a335a4;
$custom-light: #c276bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a335a4",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 299.459,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.19298,
    "h": 327.5
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#A335A4
secondary
#77BE76
accent
#DB4D4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A335A4

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

Preview Lab → · Contrast checker → · Palette generator →

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