#A538C3#A538C3

#A538C3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.217 H 318.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A538C3
RGBrgb(165, 56, 195)
HSLhsl(287, 55%, 49%)
HSVhsv(287, 71%, 76%)
CMYKcmyk(15.4%, 71.3%, 0%, 23.5%)
CIE-LABlab(45.32, 63.50, -51.67)
CIE-LCHlch(45.32, 81.86, 320.86°)
OKLaboklab(55.65% 0.1611 -0.1451)
OKLCHoklch(55.65% 0.217 318)
XYZxyz(26.7802, 14.7690, 53.0592)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538C3 #56C338
analogous
#6038C3 #A538C3 #C3389C
triadic
#A538C3 #C3A538 #38C3A5
tetradic
#A538C3 #C36038 #56C338 #389CC3
square
#A538C3 #C36038 #56C338 #389CC3
split-complementary
#A538C3 #9CC338 #38C360
monochromatic
#551D64 #7D2A93 #A538C3 #BB65D3 #D095E1

Accessibility & contrast

On white

5.31
#A538C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A538C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538C3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538C3#FFFFFF#000000##FFFFFF
##A538C31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#3E6FC0
Tritanopia (blue-blind)
#A4547A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a538c3;
/* rgb */ color: rgb(165, 56, 195);
/* oklch */ color: oklch(55.7% 0.217 318.0);
Tailwind
colors: {
  custom: {
    50: '#c478d6',
    500: '#a538c3',
    950: '#000000',
  },
}
SCSS
$custom: #a538c3;
$custom-light: #c478d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a538c3",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 287.05,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.2168,
    "h": 318
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#A538C3
secondary
#99CC8B
accent
#DF4969
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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