#A527B1#A527B1

#A527B1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.220 H 324.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A527B1
RGBrgb(165, 39, 177)
HSLhsl(295, 64%, 42%)
HSVhsv(295, 78%, 69%)
CMYKcmyk(6.8%, 78%, 0%, 30.6%)
CIE-LABlab(42.19, 65.97, -46.11)
CIE-LCHlch(42.19, 80.49, 325.05°)
OKLaboklab(53.08% 0.1779 -0.1287)
OKLCHoklch(53.08% 0.22 324.1)
XYZxyz(24.1777, 12.6262, 42.7501)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527B1 #33B127
analogous
#6027B1 #A527B1 #B12778
triadic
#A527B1 #B1A527 #27B1A5
tetradic
#A527B1 #B16027 #33B127 #2778B1
square
#A527B1 #B16027 #33B127 #2778B1
split-complementary
#A527B1 #78B127 #27B160
monochromatic
#48114D #761C7F #A527B1 #C840D5 #D672E0

Accessibility & contrast

On white

5.96
#A527B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A527B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527B1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527B1#FFFFFF#000000##FFFFFF
##A527B11.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A8426C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a527b1;
/* rgb */ color: rgb(165, 39, 177);
/* oklch */ color: oklch(53.1% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#c471c9',
    500: '#a527b1',
    950: '#000000',
  },
}
SCSS
$custom: #a527b1;
$custom-light: #c471c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a527b1",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 294.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.21958,
    "h": 324.1
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#A527B1
secondary
#75C76D
accent
#E7414F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A527B1

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

Preview Lab → · Contrast checker → · Palette generator →

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