#7526A2#7526A2

#7526A2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.190 H 309.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7526A2
RGBrgb(117, 38, 162)
HSLhsl(278, 62%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(27.8%, 76.5%, 0%, 36.5%)
CIE-LABlab(33.51, 54.05, -51.52)
CIE-LCHlch(33.51, 74.67, 316.37°)
OKLaboklab(45.11% 0.1214 -0.1461)
OKLCHoklch(45.11% 0.19 309.7)
XYZxyz(14.5495, 7.7771, 34.9101)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A2 #53A226
analogous
#3726A2 #7526A2 #A22691
triadic
#7526A2 #A27526 #26A275
tetradic
#7526A2 #A23726 #53A226 #2691A2
square
#7526A2 #A23726 #53A226 #2691A2
split-complementary
#7526A2 #91A226 #26A237
monochromatic
#2D0F3F #511A70 #7526A2 #9835D0 #B167DB

Accessibility & contrast

On white

8.22
#7526A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7526A2#FFFFFF#000000##FFFFFF
##7526A21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#6E4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7526a2;
/* rgb */ color: rgb(117, 38, 162);
/* oklch */ color: oklch(45.1% 0.190 309.7);
Tailwind
colors: {
  custom: {
    50: '#a169be',
    500: '#7526a2',
    950: '#000000',
  },
}
SCSS
$custom: #7526a2;
$custom-light: #a169be;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a2",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 278.226,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.18997,
    "h": 309.7
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#7526A2
secondary
#85C163
accent
#E5437E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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