#A538A2#A538A2

#A538A2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.189 H 329.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A538A2
RGBrgb(165, 56, 162)
HSLhsl(302, 49%, 43%)
HSVhsv(302, 66%, 65%)
CMYKcmyk(0%, 66.1%, 1.8%, 35.3%)
CIE-LABlab(43.42, 57.51, -35.26)
CIE-LCHlch(43.42, 67.45, 328.49°)
OKLaboklab(53.68% 0.1616 -0.0973)
OKLCHoklch(53.68% 0.189 329)
XYZxyz(23.4526, 13.4380, 35.5340)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538A2 #38A53B
analogous
#7138A5 #A538A2 #A5386B
triadic
#A538A2 #A2A538 #38A2A5
tetradic
#A538A2 #A57138 #38A53B #386BA5
square
#A538A2 #A57138 #38A53B #386BA5
split-complementary
#A538A2 #6BA538 #38A571
monochromatic
#4A1948 #772875 #A538A2 #C555C2 #D583D3

Accessibility & contrast

On white

5.70
#A538A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A538A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538A2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538A2#FFFFFF#000000##FFFFFF
##A538A21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#AB4668
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a538a2;
/* rgb */ color: rgb(165, 56, 162);
/* oklch */ color: oklch(53.7% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#c377be',
    500: '#a538a2',
    950: '#000000',
  },
}
SCSS
$custom: #a538a2;
$custom-light: #c377be;
$custom-dark: #000000;
JSON
{
  "hex": "#a538a2",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 301.651,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.18858,
    "h": 329
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#A538A2
secondary
#7ABE7C
accent
#D9534F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A538A2

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

Preview Lab → · Contrast checker → · Palette generator →

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