#A335C9#A335C9

#A335C9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.225 H 315.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A335C9
RGBrgb(163, 53, 201)
HSLhsl(285, 58%, 50%)
HSVhsv(285, 74%, 79%)
CMYKcmyk(18.9%, 73.6%, 0%, 21.2%)
CIE-LABlab(45.01, 65.37, -55.65)
CIE-LCHlch(45.01, 85.85, 319.59°)
OKLaboklab(55.5% 0.1609 -0.1568)
OKLCHoklch(55.5% 0.225 315.7)
XYZxyz(26.9183, 14.5508, 56.6377)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335C9 #5BC935
analogous
#5935C9 #A335C9 #C935A5
triadic
#A335C9 #C9A335 #35C9A3
tetradic
#A335C9 #C95935 #5BC935 #35A5C9
square
#A335C9 #C95935 #5BC935 #35A5C9
split-complementary
#A335C9 #A5C935 #35C959
monochromatic
#541B68 #7C2899 #A335C9 #B965D6 #CF95E3

Accessibility & contrast

On white

5.37
#A335C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A335C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335C9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335C9#FFFFFF#000000##FFFFFF
##A335C91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#326DC6
Tritanopia (blue-blind)
#A0557D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a335c9;
/* rgb */ color: rgb(163, 53, 201);
/* oklch */ color: oklch(55.5% 0.225 315.7);
Tailwind
colors: {
  custom: {
    50: '#c377da',
    500: '#a335c9',
    950: '#000000',
  },
}
SCSS
$custom: #a335c9;
$custom-light: #c377da;
$custom-dark: #000000;
JSON
{
  "hex": "#a335c9",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 284.595,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.22469,
    "h": 315.7
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#A335C9
secondary
#9DCE8B
accent
#E1466E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A335C9

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

Preview Lab → · Contrast checker → · Palette generator →

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