#7526A3#7526A3

#7526A3 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 309.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7526A3
RGBrgb(117, 38, 163)
HSLhsl(278, 62%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(28.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(33.59, 54.27, -52.00)
CIE-LCHlch(33.59, 75.16, 316.22°)
OKLaboklab(45.19% 0.1212 -0.1475)
OKLCHoklch(45.19% 0.191 309.4)
XYZxyz(14.6388, 7.8128, 35.3801)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A3 #54A326
analogous
#3726A3 #7526A3 #A32693
triadic
#7526A3 #A37526 #26A375
tetradic
#7526A3 #A33726 #54A326 #2693A3
square
#7526A3 #A33726 #54A326 #2693A3
split-complementary
#7526A3 #93A326 #26A337
monochromatic
#2E0F40 #511A71 #7526A3 #9736D0 #B168DC

Accessibility & contrast

On white

8.20
#7526A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7526A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7526A3#FFFFFF#000000##FFFFFF
##7526A31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#6E4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7526a3;
/* rgb */ color: rgb(117, 38, 163);
/* oklch */ color: oklch(45.2% 0.191 309.4);
Tailwind
colors: {
  custom: {
    50: '#a169bf',
    500: '#7526a3',
    950: '#000000',
  },
}
SCSS
$custom: #7526a3;
$custom-light: #a169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a3",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 277.92,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.19093,
    "h": 309.4
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#7526A3
secondary
#86C263
accent
#E5437E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7526A3

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

Preview Lab → · Contrast checker → · Palette generator →

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