#A538B7#A538B7

#A538B7 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.206 H 321.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A538B7
RGBrgb(165, 56, 183)
HSLhsl(291, 53%, 47%)
HSVhsv(291, 69%, 72%)
CMYKcmyk(9.8%, 69.4%, 0%, 28.2%)
CIE-LABlab(44.59, 61.24, -45.83)
CIE-LCHlch(44.59, 76.49, 323.19°)
OKLaboklab(54.9% 0.1618 -0.128)
OKLCHoklch(54.9% 0.206 321.7)
XYZxyz(25.4775, 14.2479, 46.1987)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538B7 #4AB738
analogous
#6638B7 #A538B7 #B7388A
triadic
#A538B7 #B7A538 #38B7A5
tetradic
#A538B7 #B76638 #4AB738 #388AB7
square
#A538B7 #B76638 #4AB738 #388AB7
split-complementary
#A538B7 #8AB738 #38B766
monochromatic
#501B59 #7B2A88 #A538B7 #BE5ECE #D18DDC

Accessibility & contrast

On white

5.46
#A538B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A538B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538B7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538B7#FFFFFF#000000##FFFFFF
##A538B71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#A74F73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a538b7;
/* rgb */ color: rgb(165, 56, 183);
/* oklch */ color: oklch(54.9% 0.206 321.7);
Tailwind
colors: {
  custom: {
    50: '#c378cd',
    500: '#a538b7',
    950: '#000000',
  },
}
SCSS
$custom: #a538b7;
$custom-light: #c378cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a538b7",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 291.496,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.20631,
    "h": 321.7
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#A538B7
secondary
#8EC784
accent
#DD4B60
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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