#A335B8#A335B8

#A335B8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.210 H 320.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A335B8
RGBrgb(163, 53, 184)
HSLhsl(290, 55%, 46%)
HSVhsv(290, 71%, 72%)
CMYKcmyk(11.4%, 71.2%, 0%, 27.8%)
CIE-LABlab(43.94, 62.13, -47.47)
CIE-LCHlch(43.94, 78.19, 322.62°)
OKLaboklab(54.39% 0.1625 -0.1328)
OKLCHoklch(54.39% 0.21 320.7)
XYZxyz(25.0281, 13.7947, 46.6824)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B8 #4AB835
analogous
#6235B8 #A335B8 #B8358C
triadic
#A335B8 #B8A335 #35B8A3
tetradic
#A335B8 #B86235 #4AB835 #358CB8
square
#A335B8 #B86235 #4AB835 #358CB8
split-complementary
#A335B8 #8CB835 #35B862
monochromatic
#4F1A59 #792788 #A335B8 #BD5BD0 #D08ADD

Accessibility & contrast

On white

5.59
#A335B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A335B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335B8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B8#FFFFFF#000000##FFFFFF
##A335B81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#A44D73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a335b8;
/* rgb */ color: rgb(163, 53, 184);
/* oklch */ color: oklch(54.4% 0.210 320.7);
Tailwind
colors: {
  custom: {
    50: '#c276ce',
    500: '#a335b8',
    950: '#000000',
  },
}
SCSS
$custom: #a335b8;
$custom-light: #c276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b8",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 290.382,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.20987,
    "h": 320.7
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#A335B8
secondary
#8DC781
accent
#DF4961
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A335B8

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

Preview Lab → · Contrast checker → · Palette generator →

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