#A538CA#A538CA

#A538CA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.223 H 316.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A538CA
RGBrgb(165, 56, 202)
HSLhsl(285, 58%, 51%)
HSVhsv(285, 72%, 79%)
CMYKcmyk(18.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(45.76, 64.85, -55.01)
CIE-LCHlch(45.76, 85.04, 319.69°)
OKLaboklab(56.11% 0.1604 -0.1549)
OKLCHoklch(56.11% 0.223 316)
XYZxyz(27.5902, 15.0930, 57.3256)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538CA #5DCA38
analogous
#5C38CA #A538CA #CA38A6
triadic
#A538CA #CAA538 #38CAA5
tetradic
#A538CA #CA5C38 #5DCA38 #38A6CA
square
#A538CA #CA5C38 #5DCA38 #38A6CA
split-complementary
#A538CA #A6CA38 #38CA5C
monochromatic
#571D6B #7F299B #A538CA #BB68D7 #D199E4

Accessibility & contrast

On white

5.23
#A538CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A538CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538CA#FFFFFF#000000##FFFFFF
##A538CA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#376FC7
Tritanopia (blue-blind)
#A3577E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a538ca;
/* rgb */ color: rgb(165, 56, 202);
/* oklch */ color: oklch(56.1% 0.223 316.0);
Tailwind
colors: {
  custom: {
    50: '#c479db',
    500: '#a538ca',
    950: '#000000',
  },
}
SCSS
$custom: #a538ca;
$custom-light: #c479db;
$custom-dark: #000000;
JSON
{
  "hex": "#a538ca",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 284.795,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.22299,
    "h": 316
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#A538CA
secondary
#9FCF8E
accent
#E1476E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A538CA

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

Preview Lab → · Contrast checker → · Palette generator →

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