#A538D5#A538D5

#A538D5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.233 H 313.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A538D5
RGBrgb(165, 56, 213)
HSLhsl(282, 65%, 53%)
HSVhsv(282, 74%, 84%)
CMYKcmyk(22.5%, 73.7%, 0%, 16.5%)
CIE-LABlab(46.49, 67.02, -60.17)
CIE-LCHlch(46.49, 90.07, 318.08°)
OKLaboklab(56.86% 0.159 -0.17)
OKLCHoklch(56.86% 0.233 313.1)
XYZxyz(28.9393, 15.6327, 64.4308)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538D5 #68D538
analogous
#5638D5 #A538D5 #D538B6
triadic
#A538D5 #D5A538 #38D5A5
tetradic
#A538D5 #D55638 #68D538 #38B6D5
square
#A538D5 #D55638 #68D538 #38B6D5
split-complementary
#A538D5 #B6D538 #38D556
monochromatic
#5C1A79 #8224AC #A538D5 #BC6BE0 #D39DEA

Accessibility & contrast

On white

5.09
#A538D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A538D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538D5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538D5#FFFFFF#000000##FFFFFF
##A538D51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#2770D2
Tritanopia (blue-blind)
#A05B84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a538d5;
/* rgb */ color: rgb(165, 56, 213);
/* oklch */ color: oklch(56.9% 0.233 313.1);
Tailwind
colors: {
  custom: {
    50: '#c479e3',
    500: '#a538d5',
    950: '#000000',
  },
}
SCSS
$custom: #a538d5;
$custom-light: #c479e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a538d5",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 281.656,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.2328,
    "h": 313.1
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#A538D5
secondary
#A7D692
accent
#E84073
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A538D5

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

Preview Lab → · Contrast checker → · Palette generator →

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