#A335A6#A335A6

#A335A6 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 326.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A335A6
RGBrgb(163, 53, 166)
HSLhsl(298, 52%, 43%)
HSVhsv(298, 68%, 65%)
CMYKcmyk(1.8%, 68.1%, 0%, 34.9%)
CIE-LABlab(42.89, 58.89, -38.49)
CIE-LCHlch(42.89, 70.35, 326.83°)
OKLaboklab(53.31% 0.1628 -0.1066)
OKLCHoklch(53.31% 0.195 326.8)
XYZxyz(23.2599, 13.0875, 37.3700)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335A6 #38A635
analogous
#6A35A6 #A335A6 #A63570
triadic
#A335A6 #A6A335 #35A6A3
tetradic
#A335A6 #A66A35 #38A635 #3570A6
square
#A335A6 #A66A35 #38A635 #3570A6
split-complementary
#A335A6 #70A635 #35A66A
monochromatic
#481749 #752678 #A335A6 #C451C7 #D47FD6

Accessibility & contrast

On white

5.81
#A335A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A335A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335A6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335A6#FFFFFF#000000##FFFFFF
##A335A61.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#A74669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a335a6;
/* rgb */ color: rgb(163, 53, 166);
/* oklch */ color: oklch(53.3% 0.195 326.8);
Tailwind
colors: {
  custom: {
    50: '#c276c1',
    500: '#a335a6',
    950: '#000000',
  },
}
SCSS
$custom: #a335a6;
$custom-light: #c276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a335a6",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 298.407,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19464,
    "h": 326.8
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#A335A6
secondary
#79BF77
accent
#DB4D51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A335A6

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

Preview Lab → · Contrast checker → · Palette generator →

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