#7526BA#7526BA

#7526BA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.213 H 302.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7526BA
RGBrgb(117, 38, 186)
HSLhsl(272, 66%, 44%)
HSVhsv(272, 80%, 73%)
CMYKcmyk(37.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(35.43, 59.44, -62.74)
CIE-LCHlch(35.43, 86.42, 313.45°)
OKLaboklab(47.05% 0.1157 -0.1791)
OKLCHoklch(47.05% 0.213 302.9)
XYZxyz(16.8900, 8.7133, 47.2369)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526BA #6BBA26
analogous
#2B26BA #7526BA #BA26B5
triadic
#7526BA #BA7526 #26BA75
tetradic
#7526BA #BA2B26 #6BBA26 #26B5BA
square
#7526BA #BA2B26 #6BBA26 #26B5BA
split-complementary
#7526BA #B5BA26 #26BA2B
monochromatic
#351154 #551C87 #7526BA #9444D9 #B177E3

Accessibility & contrast

On white

7.66
#7526BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7526BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526BA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526BA#FFFFFF#000000##FFFFFF
##7526BA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#664E70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7526ba;
/* rgb */ color: rgb(117, 38, 186);
/* oklch */ color: oklch(47.0% 0.213 302.9);
Tailwind
colors: {
  custom: {
    50: '#a36ad0',
    500: '#7526ba',
    950: '#000000',
  },
}
SCSS
$custom: #7526ba;
$custom-light: #a36ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7526ba",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 272.027,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.21317,
    "h": 302.9
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#7526BA
secondary
#9BCB71
accent
#E93F8E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7526BA

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

Preview Lab → · Contrast checker → · Palette generator →

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