#A335B4#A335B4

#A335B4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.206 H 322.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A335B4
RGBrgb(163, 53, 180)
HSLhsl(292, 55%, 46%)
HSVhsv(292, 71%, 71%)
CMYKcmyk(9.4%, 70.6%, 0%, 29.4%)
CIE-LABlab(43.70, 61.39, -45.50)
CIE-LCHlch(43.70, 76.42, 323.45°)
OKLaboklab(54.14% 0.1627 -0.1271)
OKLCHoklch(54.14% 0.206 322)
XYZxyz(24.6147, 13.6294, 44.5054)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B4 #46B435
analogous
#6435B4 #A335B4 #B43585
triadic
#A335B4 #B4A335 #35B4A3
tetradic
#A335B4 #B46435 #46B435 #3585B4
square
#A335B4 #B46435 #46B435 #3585B4
split-complementary
#A335B4 #85B435 #35B464
monochromatic
#4D1955 #782785 #A335B4 #BE58CE #D188DC

Accessibility & contrast

On white

5.64
#A335B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A335B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335B4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B4#FFFFFF#000000##FFFFFF
##A335B41.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#A54C71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a335b4;
/* rgb */ color: rgb(163, 53, 180);
/* oklch */ color: oklch(54.1% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#c276cb',
    500: '#a335b4',
    950: '#000000',
  },
}
SCSS
$custom: #a335b4;
$custom-light: #c276cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b4",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 291.969,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.20642,
    "h": 322
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#A335B4
secondary
#89C67F
accent
#DE4A5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A335B4

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

Preview Lab → · Contrast checker → · Palette generator →

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