#7526A6#7526A6

#7526A6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 308.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7526A6
RGBrgb(117, 38, 166)
HSLhsl(277, 63%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.5%, 77.1%, 0%, 34.9%)
CIE-LABlab(33.82, 54.93, -53.43)
CIE-LCHlch(33.82, 76.63, 315.79°)
OKLaboklab(45.42% 0.1206 -0.1517)
OKLCHoklch(45.42% 0.194 308.5)
XYZxyz(14.9107, 7.9216, 36.8125)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A6 #57A626
analogous
#3526A6 #7526A6 #A62697
triadic
#7526A6 #A67526 #26A675
tetradic
#7526A6 #A63526 #57A626 #2697A6
square
#7526A6 #A63526 #57A626 #2697A6
split-complementary
#7526A6 #97A626 #26A635
monochromatic
#2F0F42 #521B74 #7526A6 #9738D1 #B16ADD

Accessibility & contrast

On white

8.13
#7526A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7526A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526A6
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526A6#FFFFFF#000000##FFFFFF
##7526A61.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#6D4665
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7526a6;
/* rgb */ color: rgb(117, 38, 166);
/* oklch */ color: oklch(45.4% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#a269c1',
    500: '#7526a6',
    950: '#000000',
  },
}
SCSS
$custom: #7526a6;
$custom-light: #a269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a6",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 277.031,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.19382,
    "h": 308.5
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#7526A6
secondary
#89C365
accent
#E64281
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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