#A538C1#A538C1

#A538C1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.215 H 318.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A538C1
RGBrgb(165, 56, 193)
HSLhsl(288, 55%, 49%)
HSVhsv(288, 71%, 76%)
CMYKcmyk(14.5%, 71%, 0%, 24.3%)
CIE-LABlab(45.19, 63.11, -50.70)
CIE-LCHlch(45.19, 80.96, 321.22°)
OKLaboklab(55.52% 0.1613 -0.1423)
OKLCHoklch(55.52% 0.215 318.6)
XYZxyz(26.5556, 14.6792, 51.8763)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538C1 #54C138
analogous
#6138C1 #A538C1 #C13899
triadic
#A538C1 #C1A538 #38C1A5
tetradic
#A538C1 #C16138 #54C138 #3899C1
square
#A538C1 #C16138 #54C138 #3899C1
split-complementary
#A538C1 #99C138 #38C161
monochromatic
#541C62 #7C2A92 #A538C1 #BC64D2 #D094E0

Accessibility & contrast

On white

5.34
#A538C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A538C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538C1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538C1#FFFFFF#000000##FFFFFF
##A538C11.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#406EBE
Tritanopia (blue-blind)
#A55379
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a538c1;
/* rgb */ color: rgb(165, 56, 193);
/* oklch */ color: oklch(55.5% 0.215 318.6);
Tailwind
colors: {
  custom: {
    50: '#c478d4',
    500: '#a538c1',
    950: '#000000',
  },
}
SCSS
$custom: #a538c1;
$custom-light: #c478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a538c1",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 287.737,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.21503,
    "h": 318.6
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#A538C1
secondary
#97CB8A
accent
#DE4968
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A538C1

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

Preview Lab → · Contrast checker → · Palette generator →

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