#7526A7#7526A7

#7526A7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.195 H 308.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7526A7
RGBrgb(117, 38, 167)
HSLhsl(277, 63%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.9%, 77.2%, 0%, 34.5%)
CIE-LABlab(33.90, 55.15, -53.91)
CIE-LCHlch(33.90, 77.12, 315.65°)
OKLaboklab(45.5% 0.1204 -0.1531)
OKLCHoklch(45.5% 0.195 308.2)
XYZxyz(15.0028, 7.9584, 37.2975)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526A7 #58A726
analogous
#3426A7 #7526A7 #A72699
triadic
#7526A7 #A77526 #26A775
tetradic
#7526A7 #A73426 #58A726 #2699A7
square
#7526A7 #A73426 #58A726 #2699A7
split-complementary
#7526A7 #99A726 #26A734
monochromatic
#2F0F43 #521B75 #7526A7 #9638D2 #B16ADD

Accessibility & contrast

On white

8.10
#7526A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7526A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7526A7#FFFFFF#000000##FFFFFF
##7526A71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#6D4666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7526a7;
/* rgb */ color: rgb(117, 38, 167);
/* oklch */ color: oklch(45.5% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#a269c2',
    500: '#7526a7',
    950: '#000000',
  },
}
SCSS
$custom: #7526a7;
$custom-light: #a269c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7526a7",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 276.744,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.455,
    "c": 0.19479,
    "h": 308.2
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#7526A7
secondary
#8AC365
accent
#E64281
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7526A7

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

Preview Lab → · Contrast checker → · Palette generator →

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