#7526AC#7526AC

#7526AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.200 H 306.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7526AC
RGBrgb(117, 38, 172)
HSLhsl(275, 64%, 41%)
HSVhsv(275, 78%, 67%)
CMYKcmyk(32%, 77.9%, 0%, 32.5%)
CIE-LABlab(34.29, 56.26, -56.27)
CIE-LCHlch(34.29, 79.58, 315.00°)
OKLaboklab(45.9% 0.1193 -0.1601)
OKLCHoklch(45.9% 0.2 306.7)
XYZxyz(15.4740, 8.1469, 39.7790)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526AC #5DAC26
analogous
#3226AC #7526AC #AC26A0
triadic
#7526AC #AC7526 #26AC75
tetradic
#7526AC #AC3226 #5DAC26 #26A0AC
square
#7526AC #AC3226 #5DAC26 #26A0AC
split-complementary
#7526AC #A0AC26 #26AC32
monochromatic
#311048 #531B7A #7526AC #953BD4 #B06EDF

Accessibility & contrast

On white

7.99
#7526AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7526AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526AC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526AC#FFFFFF#000000##FFFFFF
##7526AC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6B4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7526ac;
/* rgb */ color: rgb(117, 38, 172);
/* oklch */ color: oklch(45.9% 0.200 306.7);
Tailwind
colors: {
  custom: {
    50: '#a26ac6',
    500: '#7526ac',
    950: '#000000',
  },
}
SCSS
$custom: #7526ac;
$custom-light: #a26ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7526ac",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 275.373,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.19962,
    "h": 306.7
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#7526AC
secondary
#8FC568
accent
#E74185
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526AC

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

Preview Lab → · Contrast checker → · Palette generator →

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