#A538B2#A538B2

#A538B2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.202 H 323.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A538B2
RGBrgb(165, 56, 178)
HSLhsl(294, 52%, 46%)
HSVhsv(294, 69%, 70%)
CMYKcmyk(7.3%, 68.5%, 0%, 30.2%)
CIE-LABlab(44.30, 60.32, -43.35)
CIE-LCHlch(44.30, 74.28, 324.30°)
OKLaboklab(54.59% 0.1619 -0.1208)
OKLCHoklch(54.59% 0.202 323.3)
XYZxyz(24.9663, 14.0435, 43.5065)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538B2 #45B238
analogous
#6838B2 #A538B2 #B23882
triadic
#A538B2 #B2A538 #38B2A5
tetradic
#A538B2 #B26838 #45B238 #3882B2
square
#A538B2 #B26838 #45B238 #3882B2
split-complementary
#A538B2 #82B238 #38B268
monochromatic
#4F1B55 #7A2983 #A538B2 #C05CCC #D28ADA

Accessibility & contrast

On white

5.51
#A538B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A538B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538B2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538B2#FFFFFF#000000##FFFFFF
##A538B21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B6
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#A84C71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a538b2;
/* rgb */ color: rgb(165, 56, 178);
/* oklch */ color: oklch(54.6% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#c378c9',
    500: '#a538b2',
    950: '#000000',
  },
}
SCSS
$custom: #a538b2;
$custom-light: #c378c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a538b2",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 293.607,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.202,
    "h": 323.3
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#A538B2
secondary
#88C581
accent
#DC4C5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A538B2

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

Preview Lab → · Contrast checker → · Palette generator →

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