#A538BB#A538BB

#A538BB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.210 H 320.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A538BB
RGBrgb(165, 56, 187)
HSLhsl(290, 54%, 48%)
HSVhsv(290, 70%, 73%)
CMYKcmyk(11.8%, 70.1%, 0%, 26.7%)
CIE-LABlab(44.82, 61.98, -47.79)
CIE-LCHlch(44.82, 78.27, 322.37°)
OKLaboklab(55.14% 0.1616 -0.1337)
OKLCHoklch(55.14% 0.21 320.4)
XYZxyz(25.8998, 14.4168, 48.4226)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538BB #4EBB38
analogous
#6438BB #A538BB #BB388F
triadic
#A538BB #BBA538 #38BBA5
tetradic
#A538BB #BB6438 #4EBB38 #388FBB
square
#A538BB #BB6438 #4EBB38 #388FBB
split-complementary
#A538BB #8FBB38 #38BB64
monochromatic
#521C5D #7B2A8C #A538BB #BD61D0 #D190DE

Accessibility & contrast

On white

5.41
#A538BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A538BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538BB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538BB#FFFFFF#000000##FFFFFF
##A538BB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#A65076
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a538bb;
/* rgb */ color: rgb(165, 56, 187);
/* oklch */ color: oklch(55.1% 0.210 320.4);
Tailwind
colors: {
  custom: {
    50: '#c378d0',
    500: '#a538bb',
    950: '#000000',
  },
}
SCSS
$custom: #a538bb;
$custom-light: #c378d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a538bb",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 289.924,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.20978,
    "h": 320.4
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#A538BB
secondary
#91C886
accent
#DD4B63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A538BB

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

Preview Lab → · Contrast checker → · Palette generator →

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