#A538B4#A538B4

#A538B4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.204 H 322.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A538B4
RGBrgb(165, 56, 180)
HSLhsl(293, 53%, 46%)
HSVhsv(293, 69%, 71%)
CMYKcmyk(8.3%, 68.9%, 0%, 29.4%)
CIE-LABlab(44.41, 60.69, -44.34)
CIE-LCHlch(44.41, 75.16, 323.84°)
OKLaboklab(54.71% 0.1619 -0.1237)
OKLCHoklch(54.71% 0.204 322.6)
XYZxyz(25.1686, 14.1244, 44.5717)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538B4 #47B438
analogous
#6738B4 #A538B4 #B43885
triadic
#A538B4 #B4A538 #38B4A5
tetradic
#A538B4 #B46738 #47B438 #3885B4
square
#A538B4 #B46738 #47B438 #3885B4
split-complementary
#A538B4 #85B438 #38B467
monochromatic
#4F1B57 #7A2985 #A538B4 #BF5DCD #D18BDB

Accessibility & contrast

On white

5.49
#A538B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A538B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538B4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538B4#FFFFFF#000000##FFFFFF
##A538B41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#A74D72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a538b4;
/* rgb */ color: rgb(165, 56, 180);
/* oklch */ color: oklch(54.7% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#c378cb',
    500: '#a538b4',
    950: '#000000',
  },
}
SCSS
$custom: #a538b4;
$custom-light: #c378cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a538b4",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 292.742,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.20371,
    "h": 322.6
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#A538B4
secondary
#8BC582
accent
#DC4C5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A538B4

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

Preview Lab → · Contrast checker → · Palette generator →

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