#7526A4#7526A4

#7526A4 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.192 H 309.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7526A4
RGBrgb(117, 38, 164)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(28.7%, 76.8%, 0%, 35.7%)
CIE-LABlab(33.67, 54.49, -52.48)
CIE-LCHlch(33.67, 75.65, 316.08°)
OKLaboklab(45.27% 0.121 -0.1489)
OKLCHoklch(45.27% 0.192 309.1)
XYZxyz(14.7287, 7.8487, 35.8538)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A4 #55A426
analogous
#3626A4 #7526A4 #A42694
triadic
#7526A4 #A47526 #26A475
tetradic
#7526A4 #A43626 #55A426 #2694A4
square
#7526A4 #A43626 #55A426 #2694A4
split-complementary
#7526A4 #94A426 #26A436
monochromatic
#2E0F41 #521A72 #7526A4 #9737D1 #B168DC

Accessibility & contrast

On white

8.17
#7526A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7526A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526A4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526A4#FFFFFF#000000##FFFFFF
##7526A41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#6E4564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7526a4;
/* rgb */ color: rgb(117, 38, 164);
/* oklch */ color: oklch(45.3% 0.192 309.1);
Tailwind
colors: {
  custom: {
    50: '#a269c0',
    500: '#7526a4',
    950: '#000000',
  },
}
SCSS
$custom: #7526a4;
$custom-light: #a269c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a4",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 277.619,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.19189,
    "h": 309.1
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#7526A4
secondary
#87C264
accent
#E5427F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7526A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7526A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva