#7526B7#7526B7

#7526B7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.210 H 303.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7526B7
RGBrgb(117, 38, 183)
HSLhsl(273, 66%, 43%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(36.1%, 79.2%, 0%, 28.2%)
CIE-LABlab(35.18, 58.75, -61.37)
CIE-LCHlch(35.18, 84.96, 313.75°)
OKLaboklab(46.8% 0.1165 -0.1751)
OKLCHoklch(46.8% 0.21 303.6)
XYZxyz(16.5745, 8.5871, 45.5748)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526B7 #68B726
analogous
#2D26B7 #7526B7 #B726B0
triadic
#7526B7 #B77526 #26B775
tetradic
#7526B7 #B72D26 #68B726 #26B0B7
square
#7526B7 #B72D26 #68B726 #26B0B7
split-complementary
#7526B7 #B0B726 #26B72D
monochromatic
#341152 #551B84 #7526B7 #9442D8 #B175E2

Accessibility & contrast

On white

7.73
#7526B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7526B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526B7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526B7#FFFFFF#000000##FFFFFF
##7526B71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#684D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7526b7;
/* rgb */ color: rgb(117, 38, 183);
/* oklch */ color: oklch(46.8% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#a36ace',
    500: '#7526b7',
    950: '#000000',
  },
}
SCSS
$custom: #7526b7;
$custom-light: #a36ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7526b7",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 272.69,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.21027,
    "h": 303.6
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#7526B7
secondary
#98CA6F
accent
#E93F8C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7526B7

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

Preview Lab → · Contrast checker → · Palette generator →

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