#A538BC#A538BC

#A538BC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.211 H 320.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A538BC
RGBrgb(165, 56, 188)
HSLhsl(290, 54%, 48%)
HSVhsv(290, 70%, 74%)
CMYKcmyk(12.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(44.89, 62.17, -48.28)
CIE-LCHlch(44.89, 78.71, 322.17°)
OKLaboklab(55.21% 0.1616 -0.1352)
OKLCHoklch(55.21% 0.211 320.1)
XYZxyz(26.0072, 14.4598, 48.9883)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538BC #4FBC38
analogous
#6338BC #A538BC #BC3891
triadic
#A538BC #BCA538 #38BCA5
tetradic
#A538BC #BC6338 #4FBC38 #3891BC
square
#A538BC #BC6338 #4FBC38 #3891BC
split-complementary
#A538BC #91BC38 #38BC63
monochromatic
#521C5E #7C2A8D #A538BC #BD61D0 #D190DE

Accessibility & contrast

On white

5.40
#A538BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A538BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538BC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538BC#FFFFFF#000000##FFFFFF
##A538BC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#A65176
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a538bc;
/* rgb */ color: rgb(165, 56, 188);
/* oklch */ color: oklch(55.2% 0.211 320.1);
Tailwind
colors: {
  custom: {
    50: '#c378d1',
    500: '#a538bc',
    950: '#000000',
  },
}
SCSS
$custom: #a538bc;
$custom-light: #c378d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a538bc",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 289.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.21066,
    "h": 320.1
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#A538BC
secondary
#92C987
accent
#DD4A64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A538BC

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

Preview Lab → · Contrast checker → · Palette generator →

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