#A335C4#A335C4

#A335C4 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.220 H 317.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A335C4
RGBrgb(163, 53, 196)
HSLhsl(286, 57%, 49%)
HSVhsv(286, 73%, 77%)
CMYKcmyk(16.8%, 73%, 0%, 23.1%)
CIE-LABlab(44.69, 64.40, -53.27)
CIE-LCHlch(44.69, 83.58, 320.40°)
OKLaboklab(55.16% 0.1615 -0.1498)
OKLCHoklch(55.16% 0.22 317.1)
XYZxyz(26.3397, 14.3194, 53.5903)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335C4 #56C435
analogous
#5C35C4 #A335C4 #C4359E
triadic
#A335C4 #C4A335 #35C4A3
tetradic
#A335C4 #C45C35 #56C435 #359EC4
square
#A335C4 #C45C35 #56C435 #359EC4
split-complementary
#A335C4 #9EC435 #35C45C
monochromatic
#531B64 #7B2894 #A335C4 #BA62D4 #CF92E1

Accessibility & contrast

On white

5.44
#A335C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A335C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335C4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335C4#FFFFFF#000000##FFFFFF
##A335C41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#386DC1
Tritanopia (blue-blind)
#A1537A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a335c4;
/* rgb */ color: rgb(163, 53, 196);
/* oklch */ color: oklch(55.2% 0.220 317.1);
Tailwind
colors: {
  custom: {
    50: '#c277d7',
    500: '#a335c4',
    950: '#000000',
  },
}
SCSS
$custom: #a335c4;
$custom-light: #c277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a335c4",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 286.154,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.22029,
    "h": 317.1
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#A335C4
secondary
#98CC88
accent
#E1476B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A335C4

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

Preview Lab → · Contrast checker → · Palette generator →

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