#A535A2#A535A2

#A535A2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.192 H 329.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A535A2
RGBrgb(165, 53, 162)
HSLhsl(302, 51%, 43%)
HSVhsv(302, 68%, 65%)
CMYKcmyk(0%, 67.9%, 1.8%, 35.3%)
CIE-LABlab(43.00, 58.68, -35.92)
CIE-LCHlch(43.00, 68.80, 328.53°)
OKLaboklab(53.37% 0.1649 -0.0991)
OKLCHoklch(53.37% 0.192 329)
XYZxyz(23.3115, 13.1558, 35.4869)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A535A2 #35A538
analogous
#7035A5 #A535A2 #A5356A
triadic
#A535A2 #A2A535 #35A2A5
tetradic
#A535A2 #A57035 #35A538 #356AA5
square
#A535A2 #A57035 #35A538 #356AA5
split-complementary
#A535A2 #6AA535 #35A570
monochromatic
#481747 #772675 #A535A2 #C750C4 #D67FD3

Accessibility & contrast

On white

5.78
#A535A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A535A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A535A2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A535A2#FFFFFF#000000##FFFFFF
##A535A21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#AB4467
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a535a2;
/* rgb */ color: rgb(165, 53, 162);
/* oklch */ color: oklch(53.4% 0.192 329.0);
Tailwind
colors: {
  custom: {
    50: '#c376be',
    500: '#a535a2',
    950: '#000000',
  },
}
SCSS
$custom: #a535a2;
$custom-light: #c376be;
$custom-dark: #000000;
JSON
{
  "hex": "#a535a2",
  "rgb": {
    "r": 165,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 301.607,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.19241,
    "h": 329
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#A535A2
secondary
#77BF79
accent
#DB514D
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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