#A335C2#A335C2

#A335C2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.219 H 317.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A335C2
RGBrgb(163, 53, 194)
HSLhsl(287, 57%, 48%)
HSVhsv(287, 73%, 76%)
CMYKcmyk(16%, 72.7%, 0%, 23.9%)
CIE-LABlab(44.56, 64.01, -52.32)
CIE-LCHlch(44.56, 82.67, 320.74°)
OKLaboklab(55.03% 0.1617 -0.147)
OKLCHoklch(55.03% 0.219 317.7)
XYZxyz(26.1136, 14.2289, 52.3994)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335C2 #54C235
analogous
#5D35C2 #A335C2 #C2359A
triadic
#A335C2 #C2A335 #35C2A3
tetradic
#A335C2 #C25D35 #54C235 #359AC2
square
#A335C2 #C25D35 #54C235 #359AC2
split-complementary
#A335C2 #9AC235 #35C25D
monochromatic
#521B62 #7B2892 #A335C2 #BA60D4 #CF91E1

Accessibility & contrast

On white

5.46
#A335C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A335C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335C2#FFFFFF#000000##FFFFFF
##A335C21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#A25279
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a335c2;
/* rgb */ color: rgb(163, 53, 194);
/* oklch */ color: oklch(55.0% 0.219 317.7);
Tailwind
colors: {
  custom: {
    50: '#c277d5',
    500: '#a335c2',
    950: '#000000',
  },
}
SCSS
$custom: #a335c2;
$custom-light: #c277d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a335c2",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 286.809,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.21855,
    "h": 317.7
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#A335C2
secondary
#96CC87
accent
#E04769
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A335C2

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

Preview Lab → · Contrast checker → · Palette generator →

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