#A538C7#A538C7

#A538C7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.220 H 316.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A538C7
RGBrgb(165, 56, 199)
HSLhsl(286, 56%, 50%)
HSVhsv(286, 72%, 78%)
CMYKcmyk(17.1%, 71.9%, 0%, 22%)
CIE-LABlab(45.57, 64.27, -53.58)
CIE-LCHlch(45.57, 83.67, 320.18°)
OKLaboklab(55.91% 0.1607 -0.1507)
OKLCHoklch(55.91% 0.22 316.8)
XYZxyz(27.2385, 14.9523, 55.4730)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538C7 #5AC738
analogous
#5D38C7 #A538C7 #C738A2
triadic
#A538C7 #C7A538 #38C7A5
tetradic
#A538C7 #C75D38 #5AC738 #38A2C7
square
#A538C7 #C75D38 #5AC738 #38A2C7
split-complementary
#A538C7 #A2C738 #38C75D
monochromatic
#561D67 #7D2B97 #A538C7 #BB68D4 #D098E2

Accessibility & contrast

On white

5.26
#A538C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A538C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538C7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538C7#FFFFFF#000000##FFFFFF
##A538C71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#3A6FC4
Tritanopia (blue-blind)
#A3557C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a538c7;
/* rgb */ color: rgb(165, 56, 199);
/* oklch */ color: oklch(55.9% 0.220 316.8);
Tailwind
colors: {
  custom: {
    50: '#c479d9',
    500: '#a538c7',
    950: '#000000',
  },
}
SCSS
$custom: #a538c7;
$custom-light: #c479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a538c7",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 285.734,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.22033,
    "h": 316.8
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#A538C7
secondary
#9DCD8D
accent
#DF486C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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