#A535CB#A535CB

#A535CB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.227 H 315.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A535CB
RGBrgb(165, 53, 203)
HSLhsl(285, 59%, 50%)
HSVhsv(285, 74%, 80%)
CMYKcmyk(18.7%, 73.9%, 0%, 20.4%)
CIE-LABlab(45.44, 66.15, -56.11)
CIE-LCHlch(45.44, 86.74, 319.69°)
OKLaboklab(55.9% 0.1631 -0.1581)
OKLCHoklch(55.9% 0.227 315.9)
XYZxyz(27.5679, 14.8584, 57.9041)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A535CB #5BCB35
analogous
#5A35CB #A535CB #CB35A6
triadic
#A535CB #CBA535 #35CBA5
tetradic
#A535CB #CB5A35 #5BCB35 #35A6CB
square
#A535CB #CB5A35 #5BCB35 #35A6CB
split-complementary
#A535CB #A6CB35 #35CB5A
monochromatic
#561B6A #7E289B #A535CB #BB66D8 #D096E4

Accessibility & contrast

On white

5.29
#A535CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A535CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A535CB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A535CB#FFFFFF#000000##FFFFFF
##A535CB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#A2557E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a535cb;
/* rgb */ color: rgb(165, 53, 203);
/* oklch */ color: oklch(55.9% 0.227 315.9);
Tailwind
colors: {
  custom: {
    50: '#c477dc',
    500: '#a535cb',
    950: '#000000',
  },
}
SCSS
$custom: #a535cb;
$custom-light: #c477dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a535cb",
  "rgb": {
    "r": 165,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 284.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.22714,
    "h": 315.9
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#A535CB
secondary
#9DCF8C
accent
#E2466D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A535CB

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

Preview Lab → · Contrast checker → · Palette generator →

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