#7526A9#7526A9

#7526A9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.7% C 0.197 H 307.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7526A9
RGBrgb(117, 38, 169)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 78%, 66%)
CMYKcmyk(30.8%, 77.5%, 0%, 33.7%)
CIE-LABlab(34.05, 55.59, -54.86)
CIE-LCHlch(34.05, 78.10, 315.38°)
OKLaboklab(45.66% 0.12 -0.1559)
OKLCHoklch(45.66% 0.197 307.6)
XYZxyz(15.1891, 8.0329, 38.2788)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A9 #5AA926
analogous
#3326A9 #7526A9 #A9269B
triadic
#7526A9 #A97526 #26A975
tetradic
#7526A9 #A93326 #5AA926 #269BA9
square
#7526A9 #A93326 #5AA926 #269BA9
split-complementary
#7526A9 #9BA926 #26A933
monochromatic
#301045 #521B77 #7526A9 #963AD3 #B06CDE

Accessibility & contrast

On white

8.06
#7526A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7526A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526A9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526A9#FFFFFF#000000##FFFFFF
##7526A91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#6C4767
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7526a9;
/* rgb */ color: rgb(117, 38, 169);
/* oklch */ color: oklch(45.7% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#a269c3',
    500: '#7526a9',
    950: '#000000',
  },
}
SCSS
$custom: #7526a9;
$custom-light: #a269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a9",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 276.183,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.19672,
    "h": 307.6
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#7526A9
secondary
#8CC467
accent
#E64183
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526A9

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

Preview Lab → · Contrast checker → · Palette generator →

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