#A526C7#A526C7

#A526C7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.5% C 0.238 H 317.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A526C7
RGBrgb(165, 38, 199)
HSLhsl(287, 68%, 46%)
HSVhsv(287, 81%, 78%)
CMYKcmyk(17.1%, 80.9%, 0%, 22%)
CIE-LABlab(43.52, 70.15, -56.88)
CIE-LCHlch(43.52, 90.32, 320.96°)
OKLaboklab(54.47% 0.1759 -0.1602)
OKLCHoklch(54.47% 0.238 317.7)
XYZxyz(26.5175, 13.5103, 55.2327)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526C7 #48C726
analogous
#5526C7 #A526C7 #C72699
triadic
#A526C7 #C7A526 #26C7A5
tetradic
#A526C7 #C75526 #48C726 #2699C7
square
#A526C7 #C75526 #48C726 #2699C7
split-complementary
#A526C7 #99C726 #26C755
monochromatic
#501260 #7A1C94 #A526C7 #BF4DDD #D181E7

Accessibility & contrast

On white

5.67
#A526C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A526C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526C7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526C7#FFFFFF#000000##FFFFFF
##A526C71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#2C6AC4
Tritanopia (blue-blind)
#A44C78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a526c7;
/* rgb */ color: rgb(165, 38, 199);
/* oklch */ color: oklch(54.5% 0.238 317.7);
Tailwind
colors: {
  custom: {
    50: '#c471d9',
    500: '#a526c7',
    950: '#000000',
  },
}
SCSS
$custom: #a526c7;
$custom-light: #c471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a526c7",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 287.329,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.23794,
    "h": 317.7
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#A526C7
secondary
#8CCF79
accent
#EB3D62
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A526C7

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

Preview Lab → · Contrast checker → · Palette generator →

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