#7526AA#7526AA

#7526AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.198 H 307.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7526AA
RGBrgb(117, 38, 170)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31.2%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.13, 55.82, -55.33)
CIE-LCHlch(34.13, 78.60, 315.25°)
OKLaboklab(45.74% 0.1197 -0.1573)
OKLCHoklch(45.74% 0.198 307.3)
XYZxyz(15.2834, 8.0706, 38.7751)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526AA #5BAA26
analogous
#3326AA #7526AA #AA269D
triadic
#7526AA #AA7526 #26AA75
tetradic
#7526AA #AA3326 #5BAA26 #269DAA
square
#7526AA #AA3326 #5BAA26 #269DAA
split-complementary
#7526AA #9DAA26 #26AA33
monochromatic
#301046 #531B78 #7526AA #963AD3 #B06CDE

Accessibility & contrast

On white

8.03
#7526AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7526AA#FFFFFF#000000##FFFFFF
##7526AA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7526aa;
/* rgb */ color: rgb(117, 38, 170);
/* oklch */ color: oklch(45.7% 0.198 307.3);
Tailwind
colors: {
  custom: {
    50: '#a269c4',
    500: '#7526aa',
    950: '#000000',
  },
}
SCSS
$custom: #7526aa;
$custom-light: #a269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7526aa",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 275.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.19769,
    "h": 307.3
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#7526AA
secondary
#8DC567
accent
#E64184
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526AA

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

Preview Lab → · Contrast checker → · Palette generator →

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