#A527CA#A527CA

#A527CA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.240 H 316.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A527CA
RGBrgb(165, 39, 202)
HSLhsl(286, 68%, 47%)
HSVhsv(286, 81%, 79%)
CMYKcmyk(18.3%, 80.7%, 0%, 20.8%)
CIE-LABlab(43.82, 70.43, -58.14)
CIE-LCHlch(43.82, 91.32, 320.46°)
OKLaboklab(54.74% 0.1747 -0.164)
OKLCHoklch(54.74% 0.24 316.8)
XYZxyz(26.9016, 13.7158, 57.0960)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A527CA #4CCA27
analogous
#5327CA #A527CA #CA279E
triadic
#A527CA #CAA527 #27CAA5
tetradic
#A527CA #CA5327 #4CCA27 #279ECA
square
#A527CA #CA5327 #4CCA27 #279ECA
split-complementary
#A527CA #9ECA27 #27CA53
monochromatic
#511363 #7B1D97 #A527CA #BD51DD #D184E7

Accessibility & contrast

On white

5.61
#A527CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A527CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A527CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A527CA#FFFFFF#000000##FFFFFF
##A527CA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#A34E7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a527ca;
/* rgb */ color: rgb(165, 39, 202);
/* oklch */ color: oklch(54.7% 0.240 316.8);
Tailwind
colors: {
  custom: {
    50: '#c572db',
    500: '#a527ca',
    950: '#000000',
  },
}
SCSS
$custom: #a527ca;
$custom-light: #c572db;
$custom-dark: #000000;
JSON
{
  "hex": "#a527ca",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 286.38,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.23955,
    "h": 316.8
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#A527CA
secondary
#8FD07C
accent
#EB3D65
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A527CA

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

Preview Lab → · Contrast checker → · Palette generator →

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