#7526B6#7526B6

#7526B6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.209 H 303.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7526B6
RGBrgb(117, 38, 182)
HSLhsl(273, 65%, 43%)
HSVhsv(273, 79%, 71%)
CMYKcmyk(35.7%, 79.1%, 0%, 28.6%)
CIE-LABlab(35.09, 58.52, -60.91)
CIE-LCHlch(35.09, 84.47, 313.85°)
OKLaboklab(46.71% 0.1168 -0.1737)
OKLCHoklch(46.71% 0.209 303.9)
XYZxyz(16.4708, 8.5456, 45.0286)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526B6 #67B626
analogous
#2D26B6 #7526B6 #B626AF
triadic
#7526B6 #B67526 #26B675
tetradic
#7526B6 #B62D26 #67B626 #26AFB6
square
#7526B6 #B62D26 #67B626 #26AFB6
split-complementary
#7526B6 #AFB626 #26B62D
monochromatic
#341151 #541B83 #7526B6 #9442D7 #B174E2

Accessibility & contrast

On white

7.75
#7526B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7526B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526B6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526B6#FFFFFF#000000##FFFFFF
##7526B61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#684C6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7526b6;
/* rgb */ color: rgb(117, 38, 182);
/* oklch */ color: oklch(46.7% 0.209 303.9);
Tailwind
colors: {
  custom: {
    50: '#a36acd',
    500: '#7526b6',
    950: '#000000',
  },
}
SCSS
$custom: #7526b6;
$custom-light: #a36acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7526b6",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 272.917,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.2093,
    "h": 303.9
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#7526B6
secondary
#97C96E
accent
#E83F8C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7526B6

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

Preview Lab → · Contrast checker → · Palette generator →

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