#7526A5#7526A5

#7526A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.193 H 308.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7526A5
RGBrgb(117, 38, 165)
HSLhsl(277, 63%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.1%, 77%, 0%, 35.3%)
CIE-LABlab(33.74, 54.71, -52.96)
CIE-LCHlch(33.74, 76.14, 315.93°)
OKLaboklab(45.34% 0.1208 -0.1503)
OKLCHoklch(45.34% 0.193 308.8)
XYZxyz(14.8194, 7.8850, 36.3313)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A5 #56A526
analogous
#3626A5 #7526A5 #A52696
triadic
#7526A5 #A57526 #26A575
tetradic
#7526A5 #A53626 #56A526 #2696A5
square
#7526A5 #A53626 #56A526 #2696A5
split-complementary
#7526A5 #96A526 #26A536
monochromatic
#2E0F42 #521B73 #7526A5 #9737D1 #B169DC

Accessibility & contrast

On white

8.15
#7526A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7526A5#FFFFFF#000000##FFFFFF
##7526A51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#6E4564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7526a5;
/* rgb */ color: rgb(117, 38, 165);
/* oklch */ color: oklch(45.3% 0.193 308.8);
Tailwind
colors: {
  custom: {
    50: '#a269c1',
    500: '#7526a5',
    950: '#000000',
  },
}
SCSS
$custom: #7526a5;
$custom-light: #a269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a5",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 277.323,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.19286,
    "h": 308.8
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#7526A5
secondary
#88C364
accent
#E64280
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7526A5

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

Preview Lab → · Contrast checker → · Palette generator →

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