#A526B0#A526B0

#A526B0 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.220 H 324.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A526B0
RGBrgb(165, 38, 176)
HSLhsl(295, 64%, 42%)
HSVhsv(295, 78%, 69%)
CMYKcmyk(6.2%, 78.4%, 0%, 31%)
CIE-LABlab(42.03, 66.09, -45.78)
CIE-LCHlch(42.03, 80.39, 325.29°)
OKLaboklab(52.94% 0.1788 -0.1277)
OKLCHoklch(52.94% 0.22 324.5)
XYZxyz(24.0460, 12.5217, 42.2163)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526B0 #31B026
analogous
#6026B0 #A526B0 #B02676
triadic
#A526B0 #B0A526 #26B0A5
tetradic
#A526B0 #B06026 #31B026 #2676B0
square
#A526B0 #B06026 #31B026 #2676B0
split-complementary
#A526B0 #76B026 #26B060
monochromatic
#47104B #761B7E #A526B0 #C93ED5 #D770E0

Accessibility & contrast

On white

5.99
#A526B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A526B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526B0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526B0#FFFFFF#000000##FFFFFF
##A526B01.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#A8416B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a526b0;
/* rgb */ color: rgb(165, 38, 176);
/* oklch */ color: oklch(52.9% 0.220 324.5);
Tailwind
colors: {
  custom: {
    50: '#c470c8',
    500: '#a526b0',
    950: '#000000',
  },
}
SCSS
$custom: #a526b0;
$custom-light: #c470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a526b0",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 295.217,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.21972,
    "h": 324.5
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#A526B0
secondary
#72C76B
accent
#E7404E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A526B0

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

Preview Lab → · Contrast checker → · Palette generator →

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