#A335B5#A335B5

#A335B5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.207 H 321.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A335B5
RGBrgb(163, 53, 181)
HSLhsl(292, 55%, 46%)
HSVhsv(292, 71%, 71%)
CMYKcmyk(9.9%, 70.7%, 0%, 29%)
CIE-LABlab(43.76, 61.57, -46.00)
CIE-LCHlch(43.76, 76.86, 323.24°)
OKLaboklab(54.2% 0.1626 -0.1285)
OKLCHoklch(54.2% 0.207 321.7)
XYZxyz(24.7169, 13.6703, 45.0438)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B5 #47B535
analogous
#6335B5 #A335B5 #B53587
triadic
#A335B5 #B5A335 #35B5A3
tetradic
#A335B5 #B56335 #47B535 #3587B5
square
#A335B5 #B56335 #47B535 #3587B5
split-complementary
#A335B5 #87B535 #35B563
monochromatic
#4E1956 #782786 #A335B5 #BE59CE #D088DC

Accessibility & contrast

On white

5.62
#A335B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A335B5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B5#FFFFFF#000000##FFFFFF
##A335B51.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#A54C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a335b5;
/* rgb */ color: rgb(163, 53, 181);
/* oklch */ color: oklch(54.2% 0.207 321.7);
Tailwind
colors: {
  custom: {
    50: '#c276cc',
    500: '#a335b5',
    950: '#000000',
  },
}
SCSS
$custom: #a335b5;
$custom-light: #c276cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b5",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 291.563,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.20729,
    "h": 321.7
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#A335B5
secondary
#8AC680
accent
#DE4A5F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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