#7526C5#7526C5

#7526C5 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.224 H 300.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7526C5
RGBrgb(117, 38, 197)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(40.6%, 80.7%, 0%, 22.7%)
CIE-LABlab(36.37, 61.98, -67.67)
CIE-LCHlch(36.37, 91.76, 312.49°)
OKLaboklab(47.99% 0.1124 -0.1935)
OKLCHoklch(47.99% 0.224 300.1)
XYZxyz(18.1047, 9.1992, 53.6343)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526C5 #76C526
analogous
#2626C5 #7526C5 #C426C5
triadic
#7526C5 #C57526 #26C575
tetradic
#7526C5 #C52626 #76C526 #26C5C4
square
#7526C5 #C52626 #76C526 #26C5C4
split-complementary
#7526C5 #C5C426 #26C526
monochromatic
#38125E #571C92 #7526C5 #944CDC #B27FE6

Accessibility & contrast

On white

7.39
#7526C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7526C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7526C5#FFFFFF#000000##FFFFFF
##7526C51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#625377
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7526c5;
/* rgb */ color: rgb(117, 38, 197);
/* oklch */ color: oklch(48.0% 0.224 300.1);
Tailwind
colors: {
  custom: {
    50: '#a46bd8',
    500: '#7526c5',
    950: '#000000',
  },
}
SCSS
$custom: #7526c5;
$custom-light: #a46bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7526c5",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 269.811,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.22382,
    "h": 300.1
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#7526C5
secondary
#A4CF78
accent
#EB3D94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7526C5

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

Preview Lab → · Contrast checker → · Palette generator →

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