#7526AB#7526AB

#7526AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.199 H 307.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7526AB
RGBrgb(117, 38, 171)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31.6%, 77.8%, 0%, 32.9%)
CIE-LABlab(34.21, 56.04, -55.80)
CIE-LCHlch(34.21, 79.09, 315.12°)
OKLaboklab(45.82% 0.1195 -0.1587)
OKLCHoklch(45.82% 0.199 307)
XYZxyz(15.3783, 8.1086, 39.2752)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526AB #5CAB26
analogous
#3226AB #7526AB #AB269E
triadic
#7526AB #AB7526 #26AB75
tetradic
#7526AB #AB3226 #5CAB26 #269EAB
square
#7526AB #AB3226 #5CAB26 #269EAB
split-complementary
#7526AB #9EAB26 #26AB32
monochromatic
#301047 #531B79 #7526AB #953BD3 #B06DDF

Accessibility & contrast

On white

8.01
#7526AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7526AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526AB#FFFFFF#000000##FFFFFF
##7526AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#6C4868
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7526ab;
/* rgb */ color: rgb(117, 38, 171);
/* oklch */ color: oklch(45.8% 0.199 307.0);
Tailwind
colors: {
  custom: {
    50: '#a26ac5',
    500: '#7526ab',
    950: '#000000',
  },
}
SCSS
$custom: #7526ab;
$custom-light: #a26ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7526ab",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 275.639,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.19866,
    "h": 307
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#7526AB
secondary
#8EC568
accent
#E74184
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526AB

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

Preview Lab → · Contrast checker → · Palette generator →

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