#7526B3#7526B3

#7526B3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.206 H 304.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7526B3
RGBrgb(117, 38, 179)
HSLhsl(274, 65%, 43%)
HSVhsv(274, 79%, 70%)
CMYKcmyk(34.6%, 78.8%, 0%, 29.8%)
CIE-LABlab(34.85, 57.84, -59.53)
CIE-LCHlch(34.85, 83.01, 314.18°)
OKLaboklab(46.47% 0.1175 -0.1697)
OKLCHoklch(46.47% 0.206 304.7)
XYZxyz(16.1641, 8.4229, 43.4133)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526B3 #64B326
analogous
#2E26B3 #7526B3 #B326AB
triadic
#7526B3 #B37526 #26B375
tetradic
#7526B3 #B32E26 #64B326 #26ABB3
square
#7526B3 #B32E26 #64B326 #26ABB3
split-complementary
#7526B3 #ABB326 #26B32E
monochromatic
#33114E #541B81 #7526B3 #9440D6 #B072E1

Accessibility & contrast

On white

7.82
#7526B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7526B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526B3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526B3#FFFFFF#000000##FFFFFF
##7526B31.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#694B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7526b3;
/* rgb */ color: rgb(117, 38, 179);
/* oklch */ color: oklch(46.5% 0.206 304.7);
Tailwind
colors: {
  custom: {
    50: '#a36acb',
    500: '#7526b3',
    950: '#000000',
  },
}
SCSS
$custom: #7526b3;
$custom-light: #a36acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7526b3",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 273.617,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.2064,
    "h": 304.7
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#7526B3
secondary
#95C86D
accent
#E8408A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526B3

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

Preview Lab → · Contrast checker → · Palette generator →

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