#7526AE#7526AE

#7526AE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.202 H 306.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7526AE
RGBrgb(117, 38, 174)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 68%)
CMYKcmyk(32.8%, 78.2%, 0%, 31.8%)
CIE-LABlab(34.45, 56.71, -57.21)
CIE-LCHlch(34.45, 80.56, 314.75°)
OKLaboklab(46.06% 0.1188 -0.1628)
OKLCHoklch(46.06% 0.202 306.1)
XYZxyz(15.6675, 8.2243, 40.7983)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526AE #5FAE26
analogous
#3126AE #7526AE #AE26A3
triadic
#7526AE #AE7526 #26AE75
tetradic
#7526AE #AE3126 #5FAE26 #26A3AE
square
#7526AE #AE3126 #5FAE26 #26A3AE
split-complementary
#7526AE #A3AE26 #26AE31
monochromatic
#31104A #531B7C #7526AE #953DD5 #B06FE0

Accessibility & contrast

On white

7.94
#7526AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7526AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526AE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526AE#FFFFFF#000000##FFFFFF
##7526AE1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#6B496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7526ae;
/* rgb */ color: rgb(117, 38, 174);
/* oklch */ color: oklch(46.1% 0.202 306.1);
Tailwind
colors: {
  custom: {
    50: '#a26ac7',
    500: '#7526ae',
    950: '#000000',
  },
}
SCSS
$custom: #7526ae;
$custom-light: #a26ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7526ae",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 274.853,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.20156,
    "h": 306.1
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#7526AE
secondary
#90C66A
accent
#E74186
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526AE

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

Preview Lab → · Contrast checker → · Palette generator →

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