#A538CD#A538CD

#A538CD is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.226 H 315.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A538CD
RGBrgb(165, 56, 205)
HSLhsl(284, 60%, 51%)
HSVhsv(284, 73%, 80%)
CMYKcmyk(19.5%, 72.7%, 0%, 19.6%)
CIE-LABlab(45.96, 65.44, -56.43)
CIE-LCHlch(45.96, 86.41, 319.23°)
OKLaboklab(56.31% 0.1601 -0.159)
OKLCHoklch(56.31% 0.226 315.2)
XYZxyz(27.9489, 15.2365, 59.2145)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538CD #60CD38
analogous
#5A38CD #A538CD #CD38AA
triadic
#A538CD #CDA538 #38CDA5
tetradic
#A538CD #CD5A38 #60CD38 #38AACD
square
#A538CD #CD5A38 #60CD38 #38AACD
split-complementary
#A538CD #AACD38 #38CD5A
monochromatic
#591C6F #8028A0 #A538CD #BB69D9 #D19AE6

Accessibility & contrast

On white

5.19
#A538CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A538CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538CD#FFFFFF#000000##FFFFFF
##A538CD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#A25880
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a538cd;
/* rgb */ color: rgb(165, 56, 205);
/* oklch */ color: oklch(56.3% 0.226 315.2);
Tailwind
colors: {
  custom: {
    50: '#c479dd',
    500: '#a538cd',
    950: '#000000',
  },
}
SCSS
$custom: #a538cd;
$custom-light: #c479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a538cd",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 283.893,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.22566,
    "h": 315.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#A538CD
secondary
#A1D18F
accent
#E3456F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A538CD

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

Preview Lab → · Contrast checker → · Palette generator →

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