#A538BF#A538BF

#A538BF is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.213 H 319.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A538BF
RGBrgb(165, 56, 191)
HSLhsl(288, 55%, 48%)
HSVhsv(288, 71%, 75%)
CMYKcmyk(13.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(45.07, 62.73, -49.74)
CIE-LCHlch(45.07, 80.06, 321.59°)
OKLaboklab(55.4% 0.1614 -0.1394)
OKLCHoklch(55.4% 0.213 319.2)
XYZxyz(26.3340, 14.5905, 50.7092)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538BF #52BF38
analogous
#6138BF #A538BF #BF3895
triadic
#A538BF #BFA538 #38BFA5
tetradic
#A538BF #BF6138 #52BF38 #3895BF
square
#A538BF #BF6138 #52BF38 #3895BF
split-complementary
#A538BF #95BF38 #38BF61
monochromatic
#531C60 #7C2A90 #A538BF #BC63D1 #D092DF

Accessibility & contrast

On white

5.36
#A538BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A538BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538BF#FFFFFF#000000##FFFFFF
##A538BF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#A55278
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a538bf;
/* rgb */ color: rgb(165, 56, 191);
/* oklch */ color: oklch(55.4% 0.213 319.2);
Tailwind
colors: {
  custom: {
    50: '#c378d3',
    500: '#a538bf',
    950: '#000000',
  },
}
SCSS
$custom: #a538bf;
$custom-light: #c378d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a538bf",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 288.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.21329,
    "h": 319.2
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#A538BF
secondary
#95CA89
accent
#DE4A66
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A538BF

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

Preview Lab → · Contrast checker → · Palette generator →

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