#A535A8#A535A8

#A535A8 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.197 H 326.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A535A8
RGBrgb(165, 53, 168)
HSLhsl(298, 52%, 43%)
HSVhsv(298, 68%, 66%)
CMYKcmyk(1.8%, 68.5%, 0%, 34.1%)
CIE-LABlab(43.32, 59.71, -38.98)
CIE-LCHlch(43.32, 71.30, 326.86°)
OKLaboklab(53.71% 0.1651 -0.108)
OKLCHoklch(53.71% 0.197 326.8)
XYZxyz(23.8576, 13.3743, 38.3631)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A535A8 #38A835
analogous
#6B35A8 #A535A8 #A83571
triadic
#A535A8 #A8A535 #35A8A5
tetradic
#A535A8 #A86B35 #38A835 #3571A8
square
#A535A8 #A86B35 #38A835 #3571A8
split-complementary
#A535A8 #71A835 #35A86B
monochromatic
#4A184B #772679 #A535A8 #C552C8 #D580D7

Accessibility & contrast

On white

5.71
#A535A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A535A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A535A8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A535A8#FFFFFF#000000##FFFFFF
##A535A81.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAB
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#AA466A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a535a8;
/* rgb */ color: rgb(165, 53, 168);
/* oklch */ color: oklch(53.7% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#c376c2',
    500: '#a535a8',
    950: '#000000',
  },
}
SCSS
$custom: #a535a8;
$custom-light: #c376c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a535a8",
  "rgb": {
    "r": 165,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 298.435,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.1973,
    "h": 326.8
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#A535A8
secondary
#7AC078
accent
#DB4C50
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A535A8

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

Preview Lab → · Contrast checker → · Palette generator →

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