#A526CA#A526CA

#A526CA 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.63:1 contrast (WCAG AA passes).

Color values

HEX#A526CA
RGBrgb(165, 38, 202)
HSLhsl(286, 68%, 47%)
HSVhsv(286, 81%, 79%)
CMYKcmyk(18.3%, 81.2%, 0%, 20.8%)
CIE-LABlab(43.73, 70.70, -58.29)
CIE-LCHlch(43.73, 91.63, 320.50°)
OKLaboklab(54.67% 0.1754 -0.1644)
OKLCHoklch(54.67% 0.24 316.8)
XYZxyz(26.8692, 13.6510, 57.0852)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526CA #4BCA26
analogous
#5326CA #A526CA #CA269D
triadic
#A526CA #CAA526 #26CAA5
tetradic
#A526CA #CA5326 #4BCA26 #269DCA
square
#A526CA #CA5326 #4BCA26 #269DCA
split-complementary
#A526CA #9DCA26 #26CA53
monochromatic
#511363 #7B1C96 #A526CA #BE4FDE #D183E8

Accessibility & contrast

On white

5.63
#A526CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A526CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526CA#FFFFFF#000000##FFFFFF
##A526CA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a526ca;
/* rgb */ color: rgb(165, 38, 202);
/* oklch */ color: oklch(54.7% 0.240 316.8);
Tailwind
colors: {
  custom: {
    50: '#c571db',
    500: '#a526ca',
    950: '#000000',
  },
}
SCSS
$custom: #a526ca;
$custom-light: #c571db;
$custom-dark: #000000;
JSON
{
  "hex": "#a526ca",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 286.463,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.24036,
    "h": 316.8
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#A526CA
secondary
#8FD17B
accent
#EB3D64
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A526CA

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

Preview Lab → · Contrast checker → · Palette generator →

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