#7526B1#7526B1

#7526B1 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.204 H 305.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7526B1
RGBrgb(117, 38, 177)
HSLhsl(274, 65%, 42%)
HSVhsv(274, 79%, 69%)
CMYKcmyk(33.9%, 78.5%, 0%, 30.6%)
CIE-LABlab(34.69, 57.39, -58.61)
CIE-LCHlch(34.69, 82.03, 314.40°)
OKLaboklab(46.3% 0.1181 -0.1669)
OKLCHoklch(46.3% 0.204 305.3)
XYZxyz(15.9633, 8.3426, 42.3558)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526B1 #62B126
analogous
#3026B1 #7526B1 #B126A7
triadic
#7526B1 #B17526 #26B175
tetradic
#7526B1 #B13026 #62B126 #26A7B1
square
#7526B1 #B13026 #62B126 #26A7B1
split-complementary
#7526B1 #A7B126 #26B130
monochromatic
#32104C #541B7F #7526B1 #943FD6 #B071E0

Accessibility & contrast

On white

7.87
#7526B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7526B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526B1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526B1#FFFFFF#000000##FFFFFF
##7526B11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6A4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7526b1;
/* rgb */ color: rgb(117, 38, 177);
/* oklch */ color: oklch(46.3% 0.204 305.3);
Tailwind
colors: {
  custom: {
    50: '#a36ac9',
    500: '#7526b1',
    950: '#000000',
  },
}
SCSS
$custom: #7526b1;
$custom-light: #a36ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7526b1",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 274.101,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.20446,
    "h": 305.3
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#7526B1
secondary
#93C76B
accent
#E84088
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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