#A538BD#A538BD

#A538BD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.212 H 319.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A538BD
RGBrgb(165, 56, 189)
HSLhsl(289, 54%, 48%)
HSVhsv(289, 70%, 74%)
CMYKcmyk(12.7%, 70.4%, 0%, 25.9%)
CIE-LABlab(44.95, 62.36, -48.77)
CIE-LCHlch(44.95, 79.16, 321.97°)
OKLaboklab(55.27% 0.1615 -0.1366)
OKLCHoklch(55.27% 0.212 319.8)
XYZxyz(26.1154, 14.5031, 49.5580)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538BD #50BD38
analogous
#6238BD #A538BD #BD3892
triadic
#A538BD #BDA538 #38BDA5
tetradic
#A538BD #BD6238 #50BD38 #3892BD
square
#A538BD #BD6238 #50BD38 #3892BD
split-complementary
#A538BD #92BD38 #38BD62
monochromatic
#531C5F #7C2A8E #A538BD #BC62D0 #D091DE

Accessibility & contrast

On white

5.38
#A538BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A538BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538BD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538BD#FFFFFF#000000##FFFFFF
##A538BD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#A55177
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a538bd;
/* rgb */ color: rgb(165, 56, 189);
/* oklch */ color: oklch(55.3% 0.212 319.8);
Tailwind
colors: {
  custom: {
    50: '#c378d1',
    500: '#a538bd',
    950: '#000000',
  },
}
SCSS
$custom: #a538bd;
$custom-light: #c378d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a538bd",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 289.173,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.21152,
    "h": 319.8
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#A538BD
secondary
#93C987
accent
#DE4A65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A538BD

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

Preview Lab → · Contrast checker → · Palette generator →

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