#A538C2#A538C2

#A538C2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.216 H 318.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A538C2
RGBrgb(165, 56, 194)
HSLhsl(287, 55%, 49%)
HSVhsv(287, 71%, 76%)
CMYKcmyk(14.9%, 71.1%, 0%, 23.9%)
CIE-LABlab(45.25, 63.30, -51.19)
CIE-LCHlch(45.25, 81.41, 321.04°)
OKLaboklab(55.59% 0.1612 -0.1437)
OKLCHoklch(55.59% 0.216 318.3)
XYZxyz(26.6675, 14.7239, 52.4658)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538C2 #55C238
analogous
#6038C2 #A538C2 #C2389A
triadic
#A538C2 #C2A538 #38C2A5
tetradic
#A538C2 #C26038 #55C238 #389AC2
square
#A538C2 #C26038 #55C238 #389AC2
split-complementary
#A538C2 #9AC238 #38C260
monochromatic
#541D63 #7D2A93 #A538C2 #BB65D2 #D094E0

Accessibility & contrast

On white

5.32
#A538C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A538C2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538C2#FFFFFF#000000##FFFFFF
##A538C21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#A4537A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a538c2;
/* rgb */ color: rgb(165, 56, 194);
/* oklch */ color: oklch(55.6% 0.216 318.3);
Tailwind
colors: {
  custom: {
    50: '#c478d5',
    500: '#a538c2',
    950: '#000000',
  },
}
SCSS
$custom: #a538c2;
$custom-light: #c478d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a538c2",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 287.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.21592,
    "h": 318.3
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#A538C2
secondary
#98CB8A
accent
#DF4969
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A538C2

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

Preview Lab → · Contrast checker → · Palette generator →

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