#A535A7#A535A7

#A535A7 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.196 H 327.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A535A7
RGBrgb(165, 53, 167)
HSLhsl(299, 52%, 43%)
HSVhsv(299, 68%, 65%)
CMYKcmyk(1.2%, 68.3%, 0%, 34.5%)
CIE-LABlab(43.27, 59.53, -38.47)
CIE-LCHlch(43.27, 70.88, 327.13°)
OKLaboklab(53.65% 0.1651 -0.1066)
OKLCHoklch(53.65% 0.196 327.2)
XYZxyz(23.7648, 13.3372, 37.8743)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A535A7 #37A735
analogous
#6C35A7 #A535A7 #A73570
triadic
#A535A7 #A7A535 #35A7A5
tetradic
#A535A7 #A76C35 #37A735 #3570A7
square
#A535A7 #A76C35 #37A735 #3570A7
split-complementary
#A535A7 #70A735 #35A76C
monochromatic
#49184A #772679 #A535A7 #C651C8 #D580D7

Accessibility & contrast

On white

5.73
#A535A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A535A7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A535A7#FFFFFF#000000##FFFFFF
##A535A71.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#AA466A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a535a7;
/* rgb */ color: rgb(165, 53, 167);
/* oklch */ color: oklch(53.7% 0.196 327.2);
Tailwind
colors: {
  custom: {
    50: '#c376c1',
    500: '#a535a7',
    950: '#000000',
  },
}
SCSS
$custom: #a535a7;
$custom-light: #c376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a535a7",
  "rgb": {
    "r": 165,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 298.947,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.19649,
    "h": 327.2
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#A535A7
secondary
#79C078
accent
#DB4D4F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A535A7

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

Preview Lab → · Contrast checker → · Palette generator →

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